Skip to main content

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

Weather

The arc:weather condition type checks the current weather in the world.

Parameters

ParameterTypeRequiredDefaultDescription
weatherArcWeatherTypeRequired-CLEAR, RAIN, or THUNDER.

Example

The following example gives speed when it is thundering.

data/my_datapack/arc/thunder_speed.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_walk",
"conditions": [
{
"type": "arc:weather",
"weather": "THUNDER"
}
],
"rewards": [
{
"type": "arc:effect",
"effect": {
"id": "minecraft:speed",
"duration": 40
}
}
]
}

Compatible Action Types