Weather
Make the recipe only work when it rain, or snow, or not
Weather requirement is used to make the recipe work only under some time of the Minecraft weather cycle.
The weather that this requirement use is dependent to the dimension the machine is in.
To use this requirement you must provide the weather type the machine will need to work.
The requirement type of weather requirement is : "custommachinery:weather"
.
Properties
The weather requirement has 2 mandatory properties and 1 optional property.
Mandatory properties
"type": "custommachinery:weather" //Mandatory to define a weather requirement.
Optional property
Example
A weather requirement that will make the recipe start only if it's raining in the dimension the machine is in. onmachine
is false here so the machine can be in a desert or in a cave, as long as it's raining anywhere in the world the recipe process will start.
{
"type": "custommachinery:weather",
"weather": "rain",
"onmachine": false
}
Last updated