Interface Bomb


public interface Bomb
Represents a Bomb in the XPrison plugin. A Bomb has various properties such as name, radius, visual representation, sounds, and explosion delay.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Sound
    Gets the sound played when the bomb is dropped.
    org.bukkit.Sound
    Gets the sound played when the bomb explodes.
    int
    Gets the delay before the bomb explodes after being placed or dropped, in ticks.
    org.bukkit.inventory.ItemStack
    Gets the visual item representation of the bomb.
    Gets the unique name of the bomb.
    int
    Gets the radius of the bomb's explosion effect.
  • Method Details

    • getName

      String getName()
      Gets the unique name of the bomb.
      Returns:
      the name of the bomb
    • getRadius

      int getRadius()
      Gets the radius of the bomb's explosion effect.
      Returns:
      the radius of the explosion
    • getItem

      org.bukkit.inventory.ItemStack getItem()
      Gets the visual item representation of the bomb.
      Returns:
      the ItemStack that represents this bomb
    • getDropSound

      org.bukkit.Sound getDropSound()
      Gets the sound played when the bomb is dropped.
      Returns:
      the Sound to be played on bomb drop
    • getExplodeSound

      org.bukkit.Sound getExplodeSound()
      Gets the sound played when the bomb explodes.
      Returns:
      the Sound to be played on explosion
    • getExplosionDelay

      int getExplosionDelay()
      Gets the delay before the bomb explodes after being placed or dropped, in ticks.
      Returns:
      the explosion delay in server ticks (1 tick = 1/20th of a second)