From 12a3c8975fdd69cdf6e774c56a98a2a25e4db1ad Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Wed, 30 May 2018 10:55:39 +0100 Subject: add "all" to immune_to table, optimized floating code --- api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api.txt') 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 -- cgit v1.2.3