summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-09-07 14:59:22 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-09-07 14:59:22 +0100
commitf1476077bd4c57d6efd19edf2da2b39a8f965d12 (patch)
tree973182a05a61d730b3fd84530eab2fa6a6cfa91a /api.txt
parent9737bde6fb57f0e7481cff1c8052a0997ef24ede (diff)
added light damage _min and _max values, also igniter check for lava damage
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt8
1 files changed, 5 insertions, 3 deletions
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