summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-05-30 10:55:39 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-05-30 10:55:39 +0100
commit12a3c8975fdd69cdf6e774c56a98a2a25e4db1ad (patch)
tree18bb3fbed64c34b648e0881be69bccfc1bf764fc /api.txt
parent82c8386eb3fa967126ede3e707548f310fe62262 (diff)
add "all" to immune_to table, optimized floating code
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 324ae90..40dbf51 100644
--- a/api.txt
+++ b/api.txt
@@ -126,6 +126,7 @@ functions needed for the mob to work properly which contains the following:
{"default:sword_wood", 0} -- causes no damage.
{"default:gold_lump", -10} -- heals by 10 health points.
{"default:coal_block", 20} -- 20 damage when hit on head with coal blocks.
+ {"all"} -- stops all weapons causing damage apart from those on list.
'makes_footstep_sound' when true you can hear mobs walking.
'sounds' this is a table with sounds of the mob