Hitbox
Furnitures can have two types of hitboxes, with collision & without collision Collision hitboxes are normal barrier-blocks, whilst non-solid ones are interaction-entities. Interaction-entities have no collision, but can be any width and height, unlike barriers which are normal 1x1x1 blocks.Below are examples of how to use both. Barrier hitboxes can be formatted at a given offset from the furniture. They also support integer-ranges to shorten repeating lines for larger hitboxes
Interaction-Entity Hitboxes takes an offset, width and height
Shulker-Entity Hitboxes takes an offset, scale, length and direction Offset only supports full blocks, as shulkers are forcefully put at a full block. Meaning you cannot offset it by 0.5 blocks Scale is a single integer and determines the scale of the furniture. You cannot scale only the height, like with Interaction-Entity Hitboxes Length determines the extra length of the hitbox, and can be between 1..2 Direction determines the way the hitbox faces, if not specified, defaults to UP
Last updated