1
0
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:
tenplus1
2023-03-26 08:31:40 +01:00
parent 3bd2ee8129
commit cd4fb6f2a6
2 changed files with 17 additions and 3 deletions

View File

@ -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