summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-09-14 17:13:40 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-09-14 17:13:40 +0100
commit830b1698ffa75c16345096b20a2b52e0276d2e5d (patch)
treef957d24664ad5b3ed8756c8d87bfd0eb666f445d /api.txt
parent82411330fcab88333a866fe5fd5a58ffe196f4b1 (diff)
added pushable flag for mobs so they can be pushed by player
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api.txt b/api.txt
index 8e3fdd0..126de42 100644
--- a/api.txt
+++ b/api.txt
@@ -45,6 +45,7 @@ functions needed for the mob to work properly which contains the following:
'fly_in' holds the node name that the mob flies (or swims) around
in e.g. "air" or "default:water_source".
'runaway' if true causes animals to turn and run away when hit.
+ 'pushable' when true mobs can be pushed by player or other mobs.
'view_range' how many nodes in distance the mob can see a player.
'damage' how many health points the mob does to a player or another
mob when melee attacking.