1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-13 05:50:17 +01:00

update api.txt

This commit is contained in:
tenplus1 2023-02-17 09:33:44 +00:00
parent ba988d514c
commit 92b1a253f0

View File

@ -303,7 +303,7 @@ enhance mob functionality and have them do many interesting things:
'on_rightclick' its same as in minetest.register_entity()
'on_blast' is called when an explosion happens near mob when using TNT
functions, parameters are (object, damage) and returns
functions, parameters are (damage) and returns
(do_damage, do_knockback, drops)
'on_spawn' is a custom function that runs on mob spawn with 'self' as
variable, return true at end of function to run only once.