summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-06 11:38:43 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-06 11:38:43 +0100
commit0e4ba14bc16a2799ff67cdaabe7d7a3003d28cc5 (patch)
tree941aa8a87531a462873cbaa2b77127c223f73d2b /api.txt
parent4ad941523edf7b8642a8d40765cd80085015003d (diff)
Added custom on_step for mob arrows (thx npxcoot)
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api.txt b/api.txt
index 95bb397..93c4500 100644
--- a/api.txt
+++ b/api.txt
@@ -170,6 +170,7 @@ This function registers a arrow for mobs with the attack type shoot.
the parameters are (self, pos, node)
'tail' when set to 1 adds a trail or tail to mob arrows
'tail_texture' texture string used for above effect
+ 'on_step' is a custom function when arrow is active, nil for default.
mobs:register_egg(name, description, background, addegg)