Skip to content

Commit

Permalink
Fix HitBox of ascending powered rail on 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Axionize committed Sep 28, 2024
1 parent 8cfb9f0 commit 4e3c589
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public enum HitboxData {
return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.625F, 1.0F, false);
} else if (version.isNewerThanOrEquals(ClientVersion.V_1_9) && version.isOlderThan(ClientVersion.V_1_10)) {
// https://bugs.mojang.com/browse/MC-89552 sloped rails in 1.9 - it is slightly taller than a regular rail
return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.125F, 1.0F, false);
return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.1875F, 1.0F, false);
} else if (version.isOlderThan(ClientVersion.V_1_11)) {
// https://bugs.mojang.com/browse/MC-102638 All sloped rails are full blocks in 1.10
return new SimpleCollisionBox(0, 0, 0, 1, 1, 1, true);
Expand Down

0 comments on commit 4e3c589

Please sign in to comment.