Skip to content

Commit

Permalink
Update mod to Minecraft snapshot 23w46a
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 committed Nov 17, 2023
1 parent 87e2f34 commit 22ca6d9
Show file tree
Hide file tree
Showing 10 changed files with 364 additions and 221 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ org.gradle.jvmargs=-Xmx1G
maven_group=com.terraformersmc
archive_name=modmenu

minecraft_version=23w44a
yarn_mappings=23w44a+build.5
minecraft_version=23w46a
yarn_mappings=23w46a+build.4
loader_version=0.14.24
fabric_version=0.90.7+1.20.3
fabric_version=0.90.9+1.20.3
quilt_loader_version=0.17.7

# Project Metadata
Expand All @@ -20,7 +20,7 @@ default_release_type=stable
# Modrinth Metadata
modrinth_slug=modmenu
modrinth_id=mOgUt4GM
modrinth_game_versions=23w44a
modrinth_game_versions=23w46a
modrinth_mod_loaders=fabric, quilt

# Mod Loader Metadata
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/terraformersmc/modmenu/ModMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.terraformersmc.modmenu.config.ModMenuConfig;
import com.terraformersmc.modmenu.config.ModMenuConfigManager;
import com.terraformersmc.modmenu.event.ModMenuEventHandler;
import com.terraformersmc.modmenu.util.ModMenuScreenTexts;
import com.terraformersmc.modmenu.util.ModrinthUtil;
import com.terraformersmc.modmenu.util.mod.Mod;
import com.terraformersmc.modmenu.util.mod.fabric.FabricDummyParentMod;
Expand Down Expand Up @@ -160,7 +161,7 @@ public static Text createModsButtonText(boolean title) {
var gameMenuStyle = ModMenuConfig.GAME_MENU_BUTTON_STYLE.getValue();
var isIcon = title ? titleStyle == ModMenuConfig.TitleMenuButtonStyle.ICON : gameMenuStyle == ModMenuConfig.GameMenuButtonStyle.ICON;
var isShort = title ? titleStyle == ModMenuConfig.TitleMenuButtonStyle.SHRINK : gameMenuStyle == ModMenuConfig.GameMenuButtonStyle.REPLACE_BUGS;
MutableText modsText = Text.translatable("modmenu.title");
MutableText modsText = ModMenuScreenTexts.TITLE.copy();
if (ModMenuConfig.MOD_COUNT_LOCATION.getValue().isOnModsButton() && !isIcon) {
String count = ModMenu.getDisplayedModCount();
if (isShort) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ModMenuOptionsScreen(Screen previous) {


protected void init() {
this.list = new OptionListWidget(this.client, this.width, this.height, 32, this.height - 32, 25);
this.list = new OptionListWidget(this.client, this.width, this.height - 64, 32, 25);
this.list.addAll(ModMenuConfig.asOptions());
this.addSelectableChild(this.list);
this.addDrawableChild(
Expand Down
Loading

0 comments on commit 22ca6d9

Please sign in to comment.