Skip to main content

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

Land on Ground

The arc:on_land action type is triggered when a player lands on the ground after falling or jumping.

Action Data

When this action is triggered, the following action data is made available:

Action Data TypeDescription
arc:fall_distanceThe distance the player fell.
arc:block_positionSpecifies the coordinates (x, y, z) of a block in the world.
arc:worldRefers to the world/dimension where the action occurs.

Example

The following example spawns a slime if the player falls more than 3 blocks.

data/my_datapack/arc/slime_landing.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_land",
"conditions": [
{
"type": "arc:entity_data",
"properties": [
{
"id": "arc:fall_distance",
"value": "3",
"comparison": ">"
}
]
}
],
"rewards": [
{
"type": "arc:spawn_entity",
"entity_type": "minecraft:slime"
}
]
}

Compatible Condition Types

Compatible Reward Types