Skip to content

Commit

Permalink
Build for Minecraft 1.18.2 to 1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
audaki committed May 25, 2024
1 parent 67fa99a commit d4a0f77
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx4G
org.gradle.parallel=true

# Fabric Properties, @see https://fabricmc.net/develop
minecraft_version=1.20.6
minecraft_version=1.19.4
loader_version=0.15.11

# Mod Properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ protected void moveAlongTrackOverwrite(BlockPos pos, BlockState state, CallbackI
protected void modifiedMoveAlongTrack(BlockPos startPos, BlockState state) {

// Minecraft 1.17 - 1.19
// Level level = this.level;
Level level = this.level;
// Minecraft 1.20+
Level level = this.level();
// Level level = this.level();

final double tps = 20.;
final double maxSpeed = 34. / tps;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"depends": {
"fabricloader": "*",
"minecraft": ">=1.20 <=1.21.99",
"minecraft": ">=1.18.2 <=1.19.4",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit d4a0f77

Please sign in to comment.