Skip to main content

Elytra Fly Stop

The arc:on_elytra_fly_stop action type is triggered when a player stops flying with an elytra.

Action Data

When this action is triggered, the following action data is made available to be used by conditions and rewards:

This action does not produce any action data.

Example

The following example will give the player a Levitation I effect for 5 seconds when they stop flying with an elytra.

data/my_datapack/arc/levitate_on_elytra_fly_stop.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_elytra_fly_stop",
"rewards": [
{
"type": "arc:effect",
"effect": "minecraft:levitation",
"duration": 100,
"amplifier": 0
}
]
}

Compatible Condition Types

The following condition types can be used with this action type:

Compatible Reward Types

The following reward types can be used with this action type: