Skip to main content

Get 25% OFF on your first order with BisectHosting using code "DAQEM"!

Change Weather

The arc:change_weather reward type sets the current weather in the world.

Parameters

ParameterTypeRequiredDefaultDescription
weatherArcWeatherTypeRequired-No default valueCLEAR, RAIN, or THUNDER.
durationintOptional6000Duration in ticks.

Example

The following example makes it thunder when a player dies.

data/my_datapack/arc/dramatic_death.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_death",
"rewards": [
{
"type": "arc:change_weather",
"weather": "THUNDER",
"duration": 6000
}
]
}

Compatible Action Types