Skip to content

Commit c6b5b0f

Browse files
authored
Update to 1.21.10 (#52)
Why mojang...
2 parents f8414f3 + 45c44cd commit c6b5b0f

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
max-parallel: 1
4040
matrix:
41-
version: ["1.20.4", "1.20.6", "1.21.1", "1.21.3", "1.21.4", "1.21.5", "1.21.8", "1.21.9"]
41+
version: ["1.20.4", "1.20.6", "1.21.1", "1.21.3", "1.21.4", "1.21.5", "1.21.8", "1.21.10"]
4242
steps:
4343
- uses: actions/download-artifact@v4
4444
with:

1.21.10/gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
org.gradle.jvmargs=-Xmx3G
2+
3+
minecraft_version=1.21.10
4+
allowed_mc_version=>1.21.8 <=1.21.10
5+
fabric_version=0.135.0+1.21.10

1.21.9/gradle.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
discombobulator {
66
versions = [
7-
"1.21.9":"",
7+
"1.21.10":"",
88
"1.21.8":"",
99
"1.21.5":"",
1010
"1.21.4":"",

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ discombobulator_version=1.3.1
99

1010
# mod
1111
mod_name=LoTAS-Light
12-
mod_version=1.3.2
12+
mod_version=1.3.3
1313
maven_group=com.minecrafttas
1414
release=false

src/main/java/com/minecrafttas/lotas_light/LoTASLightClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import net.minecraft.server.MinecraftServer;
4141
import net.minecraft.server.ServerTickRateManager;
4242
import net.minecraft.server.level.ServerLevel;
43-
//# 1.21.9
43+
//# 1.21.10
4444
//$$import net.minecraft.client.KeyMapping;
4545
//#end
4646
//# 1.21.3
@@ -58,7 +58,7 @@
5858
public class LoTASLightClient implements ClientModInitializer {
5959

6060
private KeybindManager keybindManager = new KeybindManager(KeybindManager::isKeyDownExceptTextField);
61-
// # 1.21.9
61+
// # 1.21.10
6262
//$$ private static final KeyMapping.Category LOTASLIGHT_CATEGORY = KeyMapping.Category.register(ResourceLocation.fromNamespaceAndPath("lotaslight", "lotaslight"));
6363
//# end
6464

@@ -95,7 +95,7 @@ public void onInitializeClient() {
9595
}
9696

9797
private void registerKeybindings() {
98-
//# 1.21.9
98+
//# 1.21.10
9999
//$$ KeyMapping.Category category = LOTASLIGHT_CATEGORY;
100100
//# def
101101
String category = "key.category.lotaslight.lotaslight";

src/main/java/com/minecrafttas/lotas_light/keybind/KeybindManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static class Keybind {
4545
* @param onKeyDown Will be run when the keybind is pressed
4646
*/
4747
//@formatter:off
48-
//# 1.21.9
48+
//# 1.21.10
4949
//$$ public Keybind(String name, KeyMapping.Category category, int defaultKey, Consumer<Minecraft> onKeyDown) {
5050
//# def
5151
public Keybind(String name, String category, int defaultKey, Consumer<Minecraft> onKeyDown) {
@@ -63,7 +63,7 @@ public Keybind(String name, String category, int defaultKey, Consumer<Minecraft>
6363
* @param onKeyDown Will be run when the keybind is pressed
6464
*/
6565
//@formatter:off
66-
//# 1.21.9
66+
//# 1.21.10
6767
//$$ public Keybind(String name, KeyMapping.Category category, int defaultKey, Consumer<Minecraft> onKeyDown, IsKeyDownFunc func) {
6868
//# def
6969
public Keybind(String name, String category, int defaultKey, Consumer<Minecraft> onKeyDown, IsKeyDownFunc func) {

src/main/java/com/minecrafttas/lotas_light/keybind/Keyboard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
public class Keyboard {
1212
public static boolean isKeyDown(int keyCode) {
13-
//# 1.21.9
13+
//# 1.21.10
1414
//$$ return GLFW.glfwGetKey(Minecraft.getInstance().getWindow().handle(), keyCode) == GLFW.GLFW_PRESS;
1515
//# def
1616
return GLFW.glfwGetKey(Minecraft.getInstance().getWindow().getWindow(), keyCode) == GLFW.GLFW_PRESS;

src/main/java/com/minecrafttas/lotas_light/keybind/Mouse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
public class Mouse {
1212
public static boolean isKeyDown(int keyCode) {
13-
//# 1.21.9
13+
//# 1.21.10
1414
//$$ return GLFW.glfwGetMouseButton(Minecraft.getInstance().getWindow().handle(), keyCode) == GLFW.GLFW_PRESS;
1515
//# def
1616
return GLFW.glfwGetMouseButton(Minecraft.getInstance().getWindow().getWindow(), keyCode) == GLFW.GLFW_PRESS;

0 commit comments

Comments
 (0)