1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

add custom on_punch for mob arrows

This commit is contained in:
TenPlus1
2018-09-09 11:11:08 +01:00
parent 2106a081b9
commit 82411330fc
2 changed files with 7 additions and 2 deletions

View File

@ -396,6 +396,8 @@ This function registers a arrow for mobs with the attack type shoot.
'rotate' integer value in degrees to rotate arrow
'on_step' is a custom function when arrow is active, nil for
default.
'on_punch' is a custom function when arrow is punched, nil by default
'collisionbox' is hitbox table for arrow, {0,0,0,0,0,0} by default.
Spawn Eggs