update api.txt

This commit is contained in:
tenplus1 2023-05-02 08:38:54 +01:00
parent 9a5d4278ff
commit 9c72f0559d
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ functions needed for the mob to work properly which contains the following:
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)
When both set to 15, only kill mob with natural light.
'suffocation' when > 0 mobs will suffocate inside solid blocks and will be
hurt by the value given every second (0 to disable).
'floats' when set to 1 mob will float in water, 0 has them sink.