From 82411330fcab88333a866fe5fd5a58ffe196f4b1 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 9 Sep 2018 11:11:08 +0100 Subject: add custom on_punch for mob arrows --- api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api.txt') diff --git a/api.txt b/api.txt index 17beba5..8e3fdd0 100644 --- a/api.txt +++ b/api.txt @@ -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 -- cgit v1.2.3