Implosion
Creates a fake explosion in x radius with x amount of damage
Overview
The Implosion
class provides functionality for creating implosion effects in a specified radius from a central location within a Minecraft Bukkit server environment. This class is particularly useful for creating dynamic gameplay elements and environmental interactions.
Method
create
Creates an implosion effect at the specified center location, inflicting damage on nearby living entities and generating an explosion at the center point.
Parameters
center
: The central location around which the implosion will occur. This must be a valid BukkitLocation
object.radius
: The radius within which entities will be affected by the implosion. This parameter defines the extent of the implosion's impact.damage
: The amount of damage inflicted on entities within the implosion radius. This value determines the intensity of the implosion's effect.
Usage Example
Notes
This method targets living entities within the specified radius, excluding players.
The implosion effect generates a localized explosion at the center point, providing additional environmental interaction.
Last updated