Class GlowSkeleton

All Implemented Interfaces:
com.destroystokyo.paper.entity.RangedEntity, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.AbstractSkeleton, 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.Skeleton, 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
Direct Known Subclasses:
GlowStray, GlowWitherSkeleton

public class GlowSkeleton extends GlowMonster implements org.bukkit.entity.Skeleton
  • Constructor Details

    • GlowSkeleton

      public GlowSkeleton(org.bukkit.Location loc)
    • GlowSkeleton

      public GlowSkeleton(org.bukkit.Location loc, org.bukkit.entity.EntityType type, double maxHealth)
  • Method Details

    • getSkeletonType

      public org.bukkit.entity.Skeleton.SkeletonType getSkeletonType()
      Specified by:
      getSkeletonType in interface org.bukkit.entity.AbstractSkeleton
    • setSkeletonType

      public void setSkeletonType(org.bukkit.entity.Skeleton.SkeletonType type)
      Specified by:
      setSkeletonType in interface org.bukkit.entity.AbstractSkeleton
    • 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 GlowLivingEntity
      Returns:
      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.
      Overrides:
      getHurtSound in class GlowLivingEntity
      Returns:
      the hurt 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 GlowLivingEntity
      Returns:
      the ambient sound if available
    • isUndead

      public boolean isUndead()
      Description copied from class: GlowLivingEntity
      Get whether or not this entity is undead.
      Overrides:
      isUndead in class GlowLivingEntity
      Returns:
      true if this entity is undead, false otherwise
    • rangedAttack

      public void rangedAttack(org.bukkit.entity.LivingEntity target, float charge)
      Specified by:
      rangedAttack in interface com.destroystokyo.paper.entity.RangedEntity
    • setChargingAttack

      public void setChargingAttack(boolean raiseHands)
      Specified by:
      setChargingAttack in interface com.destroystokyo.paper.entity.RangedEntity
    • shouldBurnInDay

      public boolean shouldBurnInDay()
      Specified by:
      shouldBurnInDay in interface org.bukkit.entity.AbstractSkeleton
    • isConverting

      public boolean isConverting()
      Specified by:
      isConverting in interface org.bukkit.entity.Skeleton
    • getConversionTime

      public int getConversionTime()
      Specified by:
      getConversionTime in interface org.bukkit.entity.Skeleton
    • setConversionTime

      public void setConversionTime(int time)
      Specified by:
      setConversionTime in interface org.bukkit.entity.Skeleton
    • inPowderedSnowTime

      public int inPowderedSnowTime()
      Specified by:
      inPowderedSnowTime in interface org.bukkit.entity.Skeleton
    • setShouldBurnInDay

      public void setShouldBurnInDay(boolean shouldBurnInDay)
      Specified by:
      setShouldBurnInDay in interface org.bukkit.entity.AbstractSkeleton