Structure
Make the recipe require a structure to be formed around the machine
Structure requirement is used to make the recipe need a structure around the machine to be processed.
The structure can be any size but blocks in unloaded chunks will not be found and the recipe will not start.
The requirement type of structure requirement is : "custommachinery:structure"
.
Properties
The structure requirement has 3 mandatory properties.
Mandatory properties
"type": "custommachinery:structure" //Mandatory to define a structure requirement.
Example
How to define a structure requirement:
{
"type": "custommachinery:structure",
"pattern": [
[
"sssss",
"s s",
"s s",
"s s",
"sssss",
" m "
]
],
"keys": {
"s": "minecraft:stone"
}
}
Result :
Last updated