diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-14 17:13:40 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-14 17:13:40 +0100 |
commit | 830b1698ffa75c16345096b20a2b52e0276d2e5d (patch) | |
tree | f957d24664ad5b3ed8756c8d87bfd0eb666f445d /api.txt | |
parent | 82411330fcab88333a866fe5fd5a58ffe196f4b1 (diff) |
added pushable flag for mobs so they can be pushed by player
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |