From 31bf2ea8a919366ff8c8293902f0b0cff84e6e07 Mon Sep 17 00:00:00 2001 From: kalucky0 Date: Thu, 5 Dec 2024 11:23:45 +0100 Subject: [PATCH] Update to Minecraft 1.21.4 --- README.md | 6 +++--- gradle.properties | 18 +++++++++--------- gradle/wrapper/gradle-wrapper.properties | 2 +- .../bindcmd/config/BindingsListWidget.kt | 2 +- src/main/resources/fabric.mod.json | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index de3d956..95852f7 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ ![Code license (MIT)](https://img.shields.io/github/license/devs-immortal/bind-cmd) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/devs-immortal/bind-cmd) -![Minecraft 1.21.3](https://img.shields.io/badge/Minecraft-1.21.3-yellowgreen) +![Minecraft 1.21.4](https://img.shields.io/badge/Minecraft-1.21.4-yellowgreen) -The BindCommands mod allows players to bind Minecraft commands to specific keys on their keyboard, making it easier and faster to execute commands in the game. The mod is built using the [Fabric](https://fabricmc.net/) mod loader and is compatible with Minecraft versions from 1.16.5 up to 1.21.3. +The BindCommands mod allows players to bind Minecraft commands to specific keys on their keyboard, making it easier and faster to execute commands in the game. The mod is built using the [Fabric](https://fabricmc.net/) mod loader and is compatible with Minecraft versions from 1.16.5 up to 1.21.4. ## Features @@ -14,7 +14,7 @@ The BindCommands mod allows players to bind Minecraft commands to specific keys ## Installation -1. Download and install [Fabric](https://fabricmc.net/use/installer/) for Minecraft 1.21.3. +1. Download and install [Fabric](https://fabricmc.net/use/installer/) for Minecraft 1.21.4. 2. Download BindCommands, [Mod Menu](https://github.com/TerraformersMC/ModMenu), and [Fabric Language Kotlin](https://github.com/FabricMC/fabric-language-kotlin) mods. 3. Place the downloaded mod files in the "mods" folder located in your Minecraft game directory. 4. Launch Minecraft with the Fabric mod loader and enjoy the mod! diff --git a/gradle.properties b/gradle.properties index 6d31f0f..4a754d2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,20 +3,20 @@ org.gradle.jvmargs=-Xmx4G # Fabric Properties # Check these on https://fabricmc.net/develop/ -minecraft_version=1.21.3 -yarn_mappings=1.21.3+build.2 -loader_version=0.16.7 +minecraft_version=1.21.4 +yarn_mappings=1.21.4+build.1 +loader_version=0.16.9 # Fabric API -fabric_version=0.107.0+1.21.3 -loom_version=1.8-SNAPSHOT +fabric_version=0.110.5+1.21.4 +loom_version=1.9-SNAPSHOT # Mod Properties -mod_version=1.5.3 +mod_version=1.5.4 maven_group=net.immortaldevs archives_base_name=fabric-bind-cmd # Kotlin -kotlin_version=2.0.20 -fabric_kotlin_version=1.12.3+kotlin.2.0.21 -modmenu_version=12.0.0-beta.1 \ No newline at end of file +kotlin_version=2.1.0 +fabric_kotlin_version=1.13.0+kotlin.2.1.0 +modmenu_version=13.0.0-beta.1 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 207a1e0..e0c8a1c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ # Mon Oct 28 00:38:00 UTC 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/kotlin/net/immortaldevs/bindcmd/config/BindingsListWidget.kt b/src/main/kotlin/net/immortaldevs/bindcmd/config/BindingsListWidget.kt index 90464af..b02e94a 100644 --- a/src/main/kotlin/net/immortaldevs/bindcmd/config/BindingsListWidget.kt +++ b/src/main/kotlin/net/immortaldevs/bindcmd/config/BindingsListWidget.kt @@ -177,7 +177,7 @@ class BindingsListWidget(val parent: ModConfigScreen, client: MinecraftClient?) Config.bindings.remove(binding) list.parent.selectedKeyBinding = null list.removeEntry(this) - scrollAmount -= 20 + scrollY -= 20 list.update() } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 85d30a4..debb3e5 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -37,7 +37,7 @@ "fabric-api": "*", "fabric-language-kotlin": "*", "fabricloader": ">=0.15.0", - "minecraft": ">=1.21.2 <=1.22", + "minecraft": ">=1.21.4 <1.22", "modmenu": "*" } }