File tree Expand file tree Collapse file tree
src/main/java/com/terraformersmc/modmenu/event Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ org.gradle.parallel=true
44maven_group =com.terraformersmc
55archive_name =modmenu
66
7- minecraft_version =26.1-snapshot-1
7+ minecraft_version =26.1-snapshot-2
88loader_version =0.18.4
9- fabric_version =0.140.3 +26.1
9+ fabric_version =0.141.2 +26.1
1010text_placeholder_api_version =2.8.1+1.21.10
1111quilt_loader_version =0.29.0-beta.3
1212
@@ -21,7 +21,7 @@ default_release_type=stable
2121# Modrinth Metadata
2222modrinth_slug =modmenu
2323modrinth_id =mOgUt4GM
24- modrinth_game_versions =26.1-snapshot-1
24+ modrinth_game_versions =26.1-snapshot-2
2525modrinth_mod_loaders =fabric, quilt
2626modrinth_required_dependencies =fabric-api, placeholder-api
2727
Original file line number Diff line number Diff line change 3131
3232public class ModMenuEventHandler {
3333 public static final Identifier MODS_BUTTON_TEXTURE = Identifier .fromNamespaceAndPath (ModMenu .MOD_ID , "textures/gui/mods_button.png" );
34- private static KeyMapping MENU_KEY_BIND ;
34+ private static KeyMapping MENU_KEY_MAPPING ;
3535
3636 public static void register () {
37- MENU_KEY_BIND = KeyMappingHelper .registerKeyMapping (new KeyMapping (
37+ MENU_KEY_MAPPING = KeyMappingHelper .registerKeyMapping (new KeyMapping (
3838 "key.modmenu.open_menu" ,
3939 InputConstants .Type .KEYSYM ,
4040 InputConstants .UNKNOWN .getValue (),
@@ -135,7 +135,7 @@ private static void afterTitleScreenInit(Screen screen) {
135135 }
136136
137137 private static void onClientEndTick (Minecraft client ) {
138- while (MENU_KEY_BIND .consumeClick ()) {
138+ while (MENU_KEY_MAPPING .consumeClick ()) {
139139 client .setScreen (new ModsScreen (client .screen ));
140140 }
141141 }
You can’t perform that action at this time.
0 commit comments