mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
switch node/entity setting in mobs:boom
This commit is contained in:
6
api.txt
6
api.txt
@ -619,11 +619,11 @@ Explosion Function
|
||||
|
||||
mobs:explosion(pos, radius) -- DEPRECATED!!! use mobs:boom() instead
|
||||
|
||||
mobs:boom(self, pos, radius, damage_radius, texture)
|
||||
mobs:boom(self, pos, entity_radius, damage_radius, texture)
|
||||
'self' mob entity
|
||||
'pos' centre position of explosion
|
||||
'radius' radius of explosion (typically set to 3)
|
||||
'damage_radius' radius of damage around explosion
|
||||
'damage_radius' radius of node damage (typically 3)
|
||||
'entity_radius' radius of explosion to players and mobs
|
||||
'texture' particle texture during explosion, defaults to "tnt_smoke.png"
|
||||
|
||||
This function generates an explosion which removes nodes in a specific radius
|
||||
|
Reference in New Issue
Block a user