Modes
text or list
default:"auto"
auto: follows the model’s shape (see below).cubes: a full solid block wherever the model is.precise: the model rebuilt from small solid boxes. Exact, but each box costs entities for every player who can see it, so use it sparingly.none: no hitbox. The piece can’t be clicked or broken by hand.- A list of parts, described below.
How auto works
Each block-sized cell of the model gets the shape that fits it best:
- a full block for solid parts,
- a vanilla shape (slab, stairs, panel, rod, lantern box or pane) where that fits better,
- or only a click box for thin parts like a rug, which you can click but walk over.
Writing your own
Positions arex,y,z in blocks from the piece’s own block, as seen from its front: -z is towards the front, and left and right are as you face the piece. They turn with the piece.
A hitbox can have at most 512 cells.
Which to pick
Beds always use full cells for the parts you sleep in.
