mirror of
				https://codeberg.org/tenplus1/mobs_redo.git
				synced 2025-11-04 09:15:32 +01:00 
			
		
		
		
	remove duplicate on_die info (thx Bastrabun)
This commit is contained in:
		
							
								
								
									
										2
									
								
								api.txt
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								api.txt
									
									
									
									
									
								
							@@ -301,8 +301,6 @@ Custom Definition Functions
 | 
			
		||||
Along with the above mob registry settings we can also use custom functions to
 | 
			
		||||
enhance mob functionality and have them do many interesting things:
 | 
			
		||||
 | 
			
		||||
   'on_die'         a function that is called when the mob is killed the
 | 
			
		||||
                    parameters are (self, pos)
 | 
			
		||||
   '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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user