Drop
Make the recipe drop or consume item on ground
Drop requirement is used to check/consume/drop items on ground near the machine.
This requirement is available in both input
and output
modes.
The requirement type of drop requirement is : "custommachinery:drop"
.
Properties
The drop requirement has 3 mandatory properties and 6 optional properties.
Mandatory properties
"type": "custommachinery:drop" //Mandatory to define a drop requirement.
Optional properties
Example
A Drop Requirement that will make the recipe drop 3 diamonds on the ground at the end of the crafting process with a 33% chance.
{
"type": "custommachinery:drop",
"mode": "output",
"action": "produce",
"output": "minecraft:diamond",
"chance": 0.33
}
A drop requirement that will make the recipe check for 5 items in the #forge:stone
tag in a 5 blocks radius during all the crafting process.
{
"type": "custommachinery:drop",
"mode": "input",
"action": "check",
"input": {
"tag": "forge:stone"
},
"amount": 5,
"radius": 5
}
Last updated