-
Notifications
You must be signed in to change notification settings - Fork 17
Shape
You can specify a custom shape for the machine block.
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 souldn't be bigger than 1 block.
The machine shape won't rotate depending of the machine orientation (WIP) so it may not match the block model if this one rotate.
There are 2 way of defining a custom machine shape :
Use :
"shape": "mod:block[property1=value1,property2=value2]"
to mimic the shape of another block, the [] is used to specify block properties and can be omited. Example :
"shape": "minecraft:repeater"
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.
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 [1, 1, 1, 1, 1, 1].
Example : A lower slab shape.
"shape": [[0.0, 0.0, 0.0, 1.0, 0.5, 1.0]]
3. Machine GUI
- Dump Element
- Energy Element
- Fluid Element
- Fuel Element
- Player Inventory Element
- Progress Bar Element
- Reset Element
- Slot Element
- Status Element
- Text Element
- Texture Element
5. Catalysts
- Biome Requirement
- Block Requirement
- Command Requirement
- Dimension Requirement
- Drop Requirement
- Durability Requirement
- Effect Requirement
- Energy Requirement
- Energy Per Tick Requirement
- Entity Requirement
- Fluid Requirement
- Fluid Per Tick Requirement
- Fuel Requirement
- Item Requirement
- Light Requirement
- Loot Table Requirement
- Position Requirement
- Structure Requirement
- Redstone Requirement
- Time Requirement
- Weather Requirement