From 92b1a253f0b070cfc198fcacdeca97e4d34aed41 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 17 Feb 2023 09:33:44 +0000 Subject: [PATCH] update api.txt --- api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.txt b/api.txt index 5271106..279747f 100644 --- a/api.txt +++ b/api.txt @@ -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.