diff options
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -126,7 +126,8 @@ functions needed for the mob to work properly which contains the following: 'pathfinding' set to 1 for mobs to use pathfinder feature to locate player, set to 2 so they can build/break also (only works with dogfight attack and when 'mobs_griefing' - in minetest.conf is not false). + in minetest.conf is not false). Adding {unbreakable=1} + to node groups stops them being broken by mobs. 'immune_to' is a table that holds specific damage when being hit by certain items e.g. {"default:sword_wood", 0} -- causes no damage. |