Class GlowCreeper

All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Creature, org.bukkit.entity.Creeper, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Monster, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource

public class GlowCreeper extends GlowMonster implements org.bukkit.entity.Creeper
  • Constructor Details

    • GlowCreeper

      public GlowCreeper(org.bukkit.Location loc)
  • Method Details

    • createSpawnMessage

      public List<> createSpawnMessage()
      Description copied from class: GlowEntity
      Creates a list of Messages which can be sent to a client to spawn this entity. Implementations in concrete subclasses may return a shallowly immutable list.
      createSpawnMessage in class GlowCreature
      A list of messages which can spawn this entity.
    • isPowered

      public boolean isPowered()
      Specified by:
      isPowered in interface org.bukkit.entity.Creeper
    • setPowered

      public void setPowered(boolean value)
      Specified by:
      setPowered in interface org.bukkit.entity.Creeper
    • explode

      public void explode()
      Specified by:
      explode in interface org.bukkit.entity.Creeper
    • ignite

      public void ignite()
      Specified by:
      ignite in interface org.bukkit.entity.Creeper
    • getDeathSound

      protected org.bukkit.Sound getDeathSound()
      Description copied from class: GlowLivingEntity
      Get the death sound of this entity, or null for silence.
      getDeathSound in class GlowLivingEntity
      the death sound if available
    • getHurtSound

      protected org.bukkit.Sound getHurtSound()
      Description copied from class: GlowLivingEntity
      Get the hurt sound of this entity, or null for silence.
      getHurtSound in class GlowLivingEntity
      the hurt sound if available
    • damage

      public void damage(double amount, org.bukkit.entity.Entity source, @NotNull @NotNull org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
      Specified by:
      damage in interface org.bukkit.entity.Damageable
      damage in class GlowLivingEntity
    • getExplosionRadius

      public int getExplosionRadius()
      Specified by:
      getExplosionRadius in interface org.bukkit.entity.Creeper
    • setExplosionRadius

      public void setExplosionRadius(int explosionRadius)
      Specified by:
      setExplosionRadius in interface org.bukkit.entity.Creeper
    • getMaxFuseTicks

      public int getMaxFuseTicks()
      Specified by:
      getMaxFuseTicks in interface org.bukkit.entity.Creeper
    • setMaxFuseTicks

      public void setMaxFuseTicks(int maxFuseTicks)
      Specified by:
      setMaxFuseTicks in interface org.bukkit.entity.Creeper
    • getFuseTicks

      public int getFuseTicks()
      Specified by:
      getFuseTicks in interface org.bukkit.entity.Creeper
    • setFuseTicks

      public void setFuseTicks(int fuseTicks)
      Specified by:
      setFuseTicks in interface org.bukkit.entity.Creeper
    • isIgnited

      public boolean isIgnited()
      Specified by:
      isIgnited in interface org.bukkit.entity.Creeper
    • setIgnited

      public void setIgnited(boolean ignited)
      Specified by:
      setIgnited in interface org.bukkit.entity.Creeper