diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-09 11:11:08 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-09 11:11:08 +0100 |
commit | 82411330fcab88333a866fe5fd5a58ffe196f4b1 (patch) | |
tree | 7250f49ecfe735f386a69cdf5573e25520435b80 /api.txt | |
parent | 2106a081b91eefddb6e4b3fc1ea659f012634e1b (diff) |
add custom on_punch for mob arrows
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |