Skip to main content

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

Structure

The arc:structure condition type checks if the player is inside a specific structure.

Parameters

ParameterTypeRequiredDefaultDescription
structureTagKey<Structure>Required-Structure tag to check.

Example

The following example gives a reward for entering a village.

data/my_datapack/arc/village_reward.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_walk",
"conditions": [
{
"type": "arc:structure",
"structure": "minecraft:village"
}
],
"rewards": [
{
"type": "arc:exp",
"min": 1,
"max": 1
}
]
}

Compatible Action Types