mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
add friendly_fire mob setting for arrows (thx eschan145)
This commit is contained in:
3
api.txt
3
api.txt
@ -150,6 +150,9 @@ functions needed for the mob to work properly which contains the following:
|
||||
arrow/fireball appears on mob.
|
||||
'specific_attack' has a table of entity names that mob can also attack
|
||||
e.g. {"player", "mobs_animal:chicken"}.
|
||||
'friendly_fire` when set to false, mobs will not be able to harm other
|
||||
mobs of the same type with friendly fire arrows.
|
||||
Defaults to true.
|
||||
'runaway_from' contains a table with mob names to run away from, add
|
||||
"player" to list to runaway from player also.
|
||||
'ignore_invisibility' When true mob will still be able to see and attack
|
||||
|
Reference in New Issue
Block a user