Class GlowPigZombie

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.Ageable, org.bukkit.entity.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Monster, org.bukkit.entity.PigZombie, org.bukkit.entity.Zombie, 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 GlowPigZombie extends GlowZombie implements org.bukkit.entity.PigZombie
  • Constructor Details

    • GlowPigZombie

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

    • isAngry

      public boolean isAngry()
      Specified by:
      isAngry in interface org.bukkit.entity.PigZombie
    • setAngry

      public void setAngry(boolean angry)
      Specified by:
      setAngry in interface org.bukkit.entity.PigZombie
    • getHurtSound

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

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

      protected org.bukkit.Sound getAmbientSound()
      Description copied from class: GlowLivingEntity
      Get the ambient sound this entity makes randomly, or null for silence.
      Overrides:
      getAmbientSound in class GlowZombie
      Returns:
      the ambient sound if available
    • canTakeDamage

      public boolean canTakeDamage(org.bukkit.event.entity.EntityDamageEvent.DamageCause damageCause)
      Description copied from class: GlowLivingEntity
      Get whether this entity should take damage from the specified source.

      Usually used to check environmental sources such as drowning.

      Overrides:
      canTakeDamage in class GlowLivingEntity
      Parameters:
      damageCause - the damage source to check
      Returns:
      whether this entity can take damage from the source
    • getAnger

      public int getAnger()
      Specified by:
      getAnger in interface org.bukkit.entity.PigZombie
    • setAnger

      public void setAnger(int anger)
      Specified by:
      setAnger in interface org.bukkit.entity.PigZombie
    • getHurtBy

      public UUID getHurtBy()
    • setHurtBy

      public void setHurtBy(UUID hurtBy)