Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ org.gradle.parallel=true
maven_group=com.terraformersmc
archive_name=modmenu

minecraft_version=26.2
minecraft_version=26.3-snapshot-4
loader_version=0.19.3
fabric_version=0.152.2+26.2
fabric_version=0.155.1+26.3
text_placeholder_api_version=3.1.0-beta.1+26.2
quilt_loader_version=0.30.0-beta.8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ModMenuEventHandler {
public static void register() {
MENU_KEY_MAPPING = KeyMappingHelper.registerKeyMapping(new KeyMapping(
"key.modmenu.open_menu",
InputConstants.Type.KEYSYM,
InputConstants.Type.KEYBOARD,
InputConstants.UNKNOWN.getValue(),
KeyMapping.Category.MISC
));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import net.minecraft.resources.Identifier;
import net.minecraft.util.Util;
import org.jspecify.annotations.NullMarked;
import org.lwjgl.glfw.GLFW;
import org.lwjgl.sdl.SDLScancode;

import java.util.Arrays;
import java.util.List;
Expand Down Expand Up @@ -176,7 +176,7 @@ public boolean keyPressed(KeyEvent input) {
list.filter(list.getParent().getSearchInput(), false);
return true;
} else {
return list.keyPressed(new KeyEvent(GLFW.GLFW_KEY_DOWN, 0, 0));
return list.keyPressed(new KeyEvent(SDLScancode.SDL_SCANCODE_DOWN, 0, 0));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"fabric-key-mapping-api-v1": "*",
"fabric-lifecycle-events-v1": "*",
"fabricloader": ">=0.19.2",
"minecraft": ">=26.2 <26.3-snapshot-3"
"minecraft": ">=26.3-"
},
"authors": [
"Prospector",
Expand Down
Loading