summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-01-26 15:34:06 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-01-26 15:34:06 +0000
commitfc40d8d7e0b375098c9148bcbf873e640ccb618e (patch)
tree030ecd54fb436ff2168a1a429f45a5f720469ecf /api.txt
parent2e9ebcced359166bedca1d5c10ae8ff0a98d9a56 (diff)
add runaway_from list for shy mobs
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api.txt b/api.txt
index 92f977c..05c98e6 100644
--- a/api.txt
+++ b/api.txt
@@ -102,6 +102,8 @@ 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"}.
+ 'runaway_from' contains a table with mob names to run away from, add
+ "player" to list to runaway from player also.
'blood_amount' contains the number of blood droplets to appear when
mob is hit.
'blood_texture' has the texture name to use for droplets e.g.