bedrock: normalize blockCollisionShapes AABBs (min <= max) in 13 versions - #1247
Open
AnonymoDGH wants to merge 1 commit into
Open
bedrock: normalize blockCollisionShapes AABBs (min <= max) in 13 versions#1247AnonymoDGH wants to merge 1 commit into
AnonymoDGH wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1054
Several Bedrock
blockCollisionShapes.jsonfiles 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.