mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
Added custom on_step for mob arrows (thx npxcoot)
This commit is contained in:
1
api.txt
1
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)
|
||||
|
Reference in New Issue
Block a user