Skip to content

bedrock: normalize blockCollisionShapes AABBs (min <= max) in 13 versions - #1247

Open
AnonymoDGH wants to merge 1 commit into
PrismarineJS:masterfrom
AnonymoDGH:fix/mcd-1054
Open

bedrock: normalize blockCollisionShapes AABBs (min <= max) in 13 versions#1247
AnonymoDGH wants to merge 1 commit into
PrismarineJS:masterfrom
AnonymoDGH:fix/mcd-1054

Conversation

@AnonymoDGH

Copy link
Copy Markdown
Contributor

Fixes #1054

Several Bedrock blockCollisionShapes.json files contain AABB boxes where the min coordinate is greater than the max coordinate (e.g. [0.90625, 0.28125, 0.09375, 0.1875, 0.5625, 0.1875]), violating the documented (x0, y0, z0, x1, y1, z1) min/max format confirmed by @extremeheat.

Fixed in 13 versions: 1.17.0, 1.20.0, 1.20.50-1.21.90 (all versions with violations). Each axis is normalized so min <= max, preserving the original formatting.

Verified: 0 remaining violations in any affected version.

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.

Clarification of the blockCollisionShape data

1 participant