Skip to content

Commit

Permalink
Port to 1.21.4 (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
hashalite authored Dec 7, 2024
2 parents 6f8c733 + 45e5cbd commit 3e793e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions common/src/main/java/net/xolt/freecam/util/FreeCamera.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion common/src/main/java/net/xolt/freecam/util/Motion.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
20 changes: 10 additions & 10 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@ 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_req=[21.4.1-beta,)
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
modmenu_version=13.0.0-beta.1
cloth_version=17.0.142

0 comments on commit 3e793e5

Please sign in to comment.