Class GlowExplosive

java.lang.Object
net.glowstone.entity.GlowEntity
net.glowstone.entity.GlowExplosive
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.command.CommandSender, org.bukkit.entity.Entity, org.bukkit.entity.Explosive, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder
Direct Known Subclasses:
GlowTntPrimed

public abstract class GlowExplosive extends GlowEntity implements org.bukkit.entity.Explosive
  • Constructor Details

    • GlowExplosive

      public GlowExplosive(org.bukkit.Location location, float yield)
      Creates a non-incendiary instance.
      Parameters:
      location - the location
      yield - the explosive strength
  • Method Details

    • setIsIncendiary

      public void setIsIncendiary(boolean isIncendiary)
      Specified by:
      setIsIncendiary in interface org.bukkit.entity.Explosive
    • getYield

      public float getYield()
      Specified by:
      getYield in interface org.bukkit.entity.Explosive
    • setYield

      public void setYield(float yield)
      Specified by:
      setYield in interface org.bukkit.entity.Explosive
    • isIncendiary

      public boolean isIncendiary()
      Specified by:
      isIncendiary in interface org.bukkit.entity.Explosive