From 537381209cb9b66a27e7032585fe64080175c425 Mon Sep 17 00:00:00 2001 From: hashalite Date: Tue, 3 Dec 2024 06:31:19 -0500 Subject: [PATCH] build: update to 1.21.4 --- .../java/net/xolt/freecam/util/FreeCamera.java | 1 + .../java/net/xolt/freecam/util/Motion.java | 2 +- gradle.properties | 18 +++++++++--------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/common/src/main/java/net/xolt/freecam/util/FreeCamera.java b/common/src/main/java/net/xolt/freecam/util/FreeCamera.java index d22ae9fd..baccbcc6 100644 --- a/common/src/main/java/net/xolt/freecam/util/FreeCamera.java +++ b/common/src/main/java/net/xolt/freecam/util/FreeCamera.java @@ -66,6 +66,7 @@ public FreeCamera(int id) { setId(id); setPose(Pose.SWIMMING); + setClientLoaded(true); // Otherwise input is frozen until timeout getAbilities().flying = true; input = new KeyboardInput(MC.options); } diff --git a/common/src/main/java/net/xolt/freecam/util/Motion.java b/common/src/main/java/net/xolt/freecam/util/Motion.java index 8fd18274..3a929655 100644 --- a/common/src/main/java/net/xolt/freecam/util/Motion.java +++ b/common/src/main/java/net/xolt/freecam/util/Motion.java @@ -16,7 +16,7 @@ public static void doMotion(FreeCamera freeCamera, double hSpeed, double vSpeed) Vec3 forward = Vec3.directionFromRotation(0, yaw); Vec3 side = Vec3.directionFromRotation(0, yaw + 90); - freeCamera.input.tick(false, 0.3F); + freeCamera.input.tick(); hSpeed = hSpeed * (freeCamera.isSprinting() ? 1.5 : 1.0); boolean straight = false; diff --git a/gradle.properties b/gradle.properties index f1712ec2..e1be581f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,19 +26,19 @@ release_type=release # https://maven.parchmentmc.org/org/parchmentmc/data # Forge dependencies use maven's version range spec: # https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html -minecraft_version=1.21.3 +minecraft_version=1.21.4 parchment_version=1.21.1-2024.11.17 -supported_mc_versions=1.21.2 +supported_mc_versions= -fabric_loader_version=0.16.7 -fabric_api_version=0.107.0+1.21.3 +fabric_loader_version=0.16.9 +fabric_api_version=0.111.0+1.21.4 fabric_loader_req=>=0.14.0 -fabric_mc_req=>1.21.2- +fabric_mc_req=>1.21.4- fabric_supported_mc_versions= -neoforge_version=21.3.8-beta +neoforge_version=21.4.9-beta neoforge_pr= -neoforge_mc_req=[1.21.2,) +neoforge_mc_req=[1.21.4,) neoforge_loader_req=[1,) neoforge_req=[21.2.1-beta,) neoforge_supported_mc_versions= @@ -46,5 +46,5 @@ neoforge_supported_mc_versions= # Other dependencies # https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu # https://mvnrepository.com/artifact/me.shedaniel.cloth/cloth-config?repo=architectury -modmenu_version=12.0.0-beta.1 -cloth_version=16.0.141 \ No newline at end of file +modmenu_version=13.0.0-beta.1 +cloth_version=17.0.142 \ No newline at end of file