Weather
Use the weather requirement in a KubeJS recipe
.requireWeather("weather")
.requireWeatherOnMachine("weather")Example
ServerEvents.recipes(event => {
event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
.requireWeather("rain")
})Last updated