mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
Added few sanity checks, higher pitch sounds for child mobs
This commit is contained in:
2
api.txt
2
api.txt
@ -399,6 +399,8 @@ This function registers a arrow for mobs with the attack type shoot.
|
||||
'hit_mob' a function that is called when the arrow hits a mob;
|
||||
this function should hurt the mob, the parameters are
|
||||
(self, player)
|
||||
'hit_object' a function that is called when the arrow hits an object;
|
||||
this function parameters are (self, player)
|
||||
'hit_node' a function that is called when the arrow hits a node, the
|
||||
parameters are (self, pos, node)
|
||||
'tail' when set to 1 adds a trail or tail to mob arrows
|
||||
|
Reference in New Issue
Block a user