From 25bfb930aca943d5f8916408845ada9ebd1a1db3 Mon Sep 17 00:00:00 2001 From: Mark Bertels Date: Mon, 12 Dec 2022 10:37:44 +0100 Subject: [PATCH] Add support for 1.19.2 --- gradle.properties | 16 ++++++++-------- .../net/quarrymod/client/gui/QuarryScreen.java | 4 ++-- src/main/resources/fabric.mod.json | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gradle.properties b/gradle.properties index d273b9a..815740c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/versions.html -minecraft_version=1.19 -yarn_mappings=1.19+build.1 -loader_version=0.14.7 +minecraft_version=1.19.2 +yarn_mappings=1.19.2+build.28 +loader_version=0.14.11 # Mod Properties -mod_version = 1.0.2 +mod_version = 1.0.3 maven_group = com.quarrymod -archives_base_name = quarry-reborn-1.19.0 +archives_base_name = quarry-reborn-1.19.2 # Dependencies -fabric_version=0.57.0+1.19 +fabric_version=0.69.0+1.19.2 # Can be found on https://github.com/TechReborn/TechReborn/releases -tr_version=1.19:5.3.2 -rc_version=1.19:5.3.2 +tr_version=1.19:5.3.4 +rc_version=1.19:5.3.4 diff --git a/src/main/java/net/quarrymod/client/gui/QuarryScreen.java b/src/main/java/net/quarrymod/client/gui/QuarryScreen.java index e2f773a..7c9c9ad 100644 --- a/src/main/java/net/quarrymod/client/gui/QuarryScreen.java +++ b/src/main/java/net/quarrymod/client/gui/QuarryScreen.java @@ -14,7 +14,7 @@ import reborncore.client.gui.builder.GuiBase; import reborncore.client.gui.builder.widget.GuiButtonExtended; import reborncore.client.gui.guibuilder.GuiBuilder; -import reborncore.common.network.NetworkManager; +import reborncore.client.ClientNetworkManager; import reborncore.common.screen.BuiltScreenHandler; public class QuarryScreen extends GuiBase { @@ -96,7 +96,7 @@ protected void drawForeground(MatrixStack matrixStack, final int mouseX, final i } public void changeMineAll(boolean mineAll) { - NetworkManager.sendToServer(QuarryManagerServerPacket.createPacketQuarryMineAll(blockEntity, mineAll)); + ClientNetworkManager.sendToServer(QuarryManagerServerPacket.createPacketQuarryMineAll(blockEntity, mineAll)); } @Override diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index c8cd277..e1a6ee1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -28,11 +28,11 @@ "mixins": [ ], "depends": { - "fabricloader": ">=0.14.7", + "fabricloader": ">=0.14.9", "fabric": "*", - "minecraft": "1.19.x", + "minecraft": "1.19.2", "java": ">=17", - "techreborn": ">=5.3.2" + "techreborn": ">=5.3.4" }, "suggests": { "another-mod": "*"