Class GlowShulker

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.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.Golem, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Monster, org.bukkit.entity.Shulker, org.bukkit.loot.Lootable, org.bukkit.material.Colorable, 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 GlowShulker extends GlowMonster implements org.bukkit.entity.Shulker
  • Constructor Details

    • GlowShulker

      public GlowShulker(org.bukkit.Location loc)
      Creates a shulker facing down.
      Parameters:
      loc - the location
    • GlowShulker

      public GlowShulker(org.bukkit.Location loc, GlowShulker.Facing direction)
      Creates a shulker facing the given direction.
      Parameters:
      loc - the location
      direction - the direction to initially face
  • Method Details

    • getFacingDirection

      public GlowShulker.Facing getFacingDirection()
    • setDirection

      public void setDirection(GlowShulker.Facing direction)
    • getShieldHeight

      public byte getShieldHeight()
    • setShieldHeight

      public void setShieldHeight(byte shieldHeight)
    • setAttachment

      public void setAttachment(org.bukkit.Location attachment)
      Sets the point where this shulker is attached, or null to detach the shulker.
      Parameters:
      attachment - the new attachment point, or null to detach
    • 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
    • getColor

      public org.bukkit.DyeColor getColor()
      Specified by:
      getColor in interface org.bukkit.material.Colorable
    • setColor

      public void setColor(org.bukkit.DyeColor color)
      Specified by:
      setColor in interface org.bukkit.material.Colorable
    • getAttachment

      public org.bukkit.Location getAttachment()
    • getPeek

      public float getPeek()
      Specified by:
      getPeek in interface org.bukkit.entity.Shulker
    • setPeek

      public void setPeek(float peek)
      Specified by:
      setPeek in interface org.bukkit.entity.Shulker
    • getAttachedFace

      public org.bukkit.block.BlockFace getAttachedFace()
      Specified by:
      getAttachedFace in interface org.bukkit.entity.Shulker
    • setAttachedFace

      public void setAttachedFace(org.bukkit.block.BlockFace attachedFace)
      Specified by:
      setAttachedFace in interface org.bukkit.entity.Shulker