Mobs now shoot mcl_bows:arrow_entity
This commit is contained in:
parent
7471836c2d
commit
8a2e6d434d
5 changed files with 33 additions and 13 deletions
|
@ -226,6 +226,9 @@ functions needed for the mob to work properly which contains the following:
|
|||
spawning fails due to space requirements
|
||||
'glow' same as in entity definition
|
||||
'child' if true, spawn mob as child
|
||||
'shoot_arrow(self, pos, dir)' function that is called when mob wants to shoot an arrow.
|
||||
You can spawn your own arrow here. pos is mob position,
|
||||
dir is mob's aiming direction
|
||||
|
||||
|
||||
Node Replacement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue