Skip to main content

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

Is Sneaking

The arc:is_sneaking condition type checks if the player is crouching/sneaking.

Parameters

This condition type does not have any parameters.

Example

The following example cancels fall damage if the player lands while sneaking.

data/my_datapack/arc/safe_landing.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_land",
"conditions": [
{
"type": "arc:is_sneaking"
}
],
"rewards": [
{
"type": "arc:cancel_action"
}
]
}

Compatible Action Types