Skip to main content

Multiple Arrows

The arc:multiple_arrows reward type shoots additional arrows when a player shoots a bow.

Parameters

ParameterTypeRequiredDefaultDescription
amountintRequired-No default valueThe number of arrows to shoot.

Example

The following example makes the player shoot a spread of 5 arrows instead of one.

data/my_datapack/arc/multishot_bow.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_shoot_projectile",
"conditions": [
{
"type": "arc:entity_type",
"entity_type": "minecraft:arrow"
}
],
"rewards": [
{
"type": "arc:multiple_arrows",
"amount": 5
}
]
}

## Compatible Action Types

<CompatibleActionTypes />