Shape
Customize the collision box of the machine.
The machine shape is used for collisions with entities and particles, as well as to define the clickable area of the block (for using or mining).
The default machine shape is 1 full block.
A custom machine shape shouldn't be bigger than 1 block.
You can use "shape_collision"
instead of "shape"
to only change the collision shape of the machine block.
There are 2 way of defining a custom machine shape :
Mimic the shape of another block
Use :
to mimic the shape of another block, the [] is used to specify block properties and can be omitted. Example :
The machine shape will be the same as the vanilla repeater.
NOTE : Not every block shape can be used, for some advanced blocks that don't have a consistent shape, defined by their block properties it just won't work.
Making the shape yourself
You can specify an array of box, defined by their min and max values on the 3 axis. The resulting shape will be the addition of all these box.
A box is defined like this : [minX, minY, minZ, maxX, maxY, maxZ]
All the box values must be between 0.0 and 1.0, a full block box is [0, 0, 0, 1, 1, 1].
Example : A lower slab shape.