Skip to main content

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

Launch Player

The arc:launch_player reward type applies a velocity vector to the player, launching them in a direction.

Parameters

ParameterTypeRequiredDefaultDescription
xfloatOptional0Force X.
yfloatOptional0Force Y.
zfloatOptional0Force Z.

Example

The following example launches the player into the air when they jump.

data/my_datapack/arc/super_jump.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_jump",
"rewards": [
{
"type": "arc:launch_player",
"y": 1.0
}
]
}

Compatible Action Types