Skip to main content

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

Push Entity

The arc:push_entity reward type pushes the target entity away from the player.

Parameters

ParameterTypeRequiredDefaultDescription
forcedoubleOptional1Force of push.

Example

The following example pushes enemies away when blocking with a shield.

data/my_datapack/arc/shield_bash.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_block_with_shield",
"rewards": [
{
"type": "arc:push_entity",
"force": 1.5
}
]
}

Compatible Action Types