Skip to content

stubbed out the carpet and lily pad collision fixes for Mojang 1.20.5…#99

Open
Wolf1098 wants to merge 2 commits into
ViaVersion:masterfrom
Wolf1098:attempt-to-fix-26.2
Open

stubbed out the carpet and lily pad collision fixes for Mojang 1.20.5…#99
Wolf1098 wants to merge 2 commits into
ViaVersion:masterfrom
Wolf1098:attempt-to-fix-26.2

Conversation

@Wolf1098

@Wolf1098 Wolf1098 commented Jul 11, 2026

Copy link
Copy Markdown

…+ (26.x) since the SHAPE field is now static final and cannot be modified at runtime. The code now logs a warning and skips the collision fix for these versions.

switched to using net.minecraft.world.level.block.LadderBlock instead of net.minecraft.world.level.block.BlockLadder for Mojang 1.20.5+ (1.21.x/26.x) since the class was renamed in that version.

…+ (26.x) since the SHAPE field is now static final and cannot be modified at runtime. The code now logs a warning and skips the collision fix for these versions.

switched to using net.minecraft.world.level.block.LadderBlock instead of net.minecraft.world.level.block.BlockLadder for Mojang 1.20.5+ (26.x) since the class was renamed in that version.
@Wolf1098 Wolf1098 marked this pull request as draft July 11, 2026 09:58
@Wolf1098 Wolf1098 marked this pull request as ready for review July 11, 2026 09:59
@Wolf1098

Copy link
Copy Markdown
Author

As expected the ladders work, the carpet and the lillypads are a tar trap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant