From f1476077bd4c57d6efd19edf2da2b39a8f965d12 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 7 Sep 2018 14:59:22 +0100 Subject: added light damage _min and _max values, also igniter check for lava damage --- api.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'api.txt') diff --git a/api.txt b/api.txt index 4ac5d49..17beba5 100644 --- a/api.txt +++ b/api.txt @@ -57,9 +57,11 @@ functions needed for the mob to work properly which contains the following: 'water_damage' holds the damage per second infliced to mobs when standing in water. 'lava_damage' holds the damage per second inflicted to mobs when standing - in lava or fire. - 'light_damage' holds the damage per second inflicted to mobs when it's too - bright (above 13 light). + in lava or fire or an ignition source. + 'light_damage' holds the damage per second inflicted to mobs when light + level is between the min and max values below + 'light_damage_min' minimum light value when mob is affected (default: 14) + 'light_damage_max' maximum light value when mob is affected (default: 15) 'suffocation' when true causes mobs to suffocate inside solid blocks. 'floats' when set to 1 mob will float in water, 0 has them sink. 'follow' mobs follow player when holding any of the items which appear -- cgit v1.2.3