update api.txt

This commit is contained in:
tenplus1 2023-02-17 09:33:44 +00:00
parent ba988d514c
commit 92b1a253f0
1 changed files with 1 additions and 1 deletions

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.