Skip to content

Clarification of the blockCollisionShape data #1054

@ItsDrike

Description

@ItsDrike

Hey, I'd just like some clarification on the meaning of the blockCollisionShape data. From the schema, I see that shapes seem to contain a bunch of collision boxes for the given block, stating a description of: The min/max x/y/z corner coordinates of this box., with it containing 6 numbers.

However, there's no clear description that would better explain how to interpret these 6 numbers. I would assume that it's something like: (min_x, min_y, min_z, max_x, max_y, max_z), or perhaps (min_x, max_x, min_y, max_y, min_z, max_z). however, if this is the case, I'd expect the min value to always be smaller than the max value for given coordinate. And yet, neither of these structures holds up to that check in all supported versions.

Would you mind explaining what the 6 numbers in the collision shape actually mean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions