Class GlowArmorStand

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.ArmorStand, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, 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 GlowArmorStand extends GlowLivingEntity implements org.bukkit.entity.ArmorStand
  • Constructor Details

    • GlowArmorStand

      public GlowArmorStand(org.bukkit.Location location)
      Creates an armor stand.
      location - the location of the armor stand
  • Method Details

    • reset

      public void reset()
      Description copied from class: GlowEntity
      Resets the previous location and other properties to their current value.
      reset in class GlowLivingEntity
    • pulse

      public void pulse()
      Description copied from class: GlowEntity
      Called every game cycle. Subclasses should implement this to implement periodic functionality e.g. mob AI.
      pulse in class GlowLivingEntity
    • 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
    • setHealth

      public void setHealth(double health)
      Specified by:
      setHealth in interface org.bukkit.entity.Damageable
      setHealth in class GlowLivingEntity
    • entityInteract

      public boolean entityInteract(GlowPlayer player, InteractEntityMessage msg)
      entityInteract in class GlowLivingEntity
    • canTakeDamage

      public boolean canTakeDamage(org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
      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.

      canTakeDamage in class GlowLivingEntity
      cause - the damage source to check
      whether this entity can take damage from the source
    • 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.
      Specified by:
      createSpawnMessage in class GlowEntity
      A list of messages which can spawn this entity.
    • createUpdateMessage

      public List<> createUpdateMessage(GlowSession session)
      Description copied from class: GlowEntity
      Creates a Message which can be sent to a client to update this entity.
      createUpdateMessage in class GlowLivingEntity
      session - Session to update this entity for
      A message which can update this entity.
    • getType

      public org.bukkit.entity.EntityType getType()
      Specified by:
      getType in interface org.bukkit.entity.Entity
      getType in class GlowEntity
    • getItemInHand

      public org.bukkit.inventory.ItemStack getItemInHand()
      Specified by:
      getItemInHand in interface org.bukkit.entity.ArmorStand
    • setItemInHand

      public void setItemInHand(org.bukkit.inventory.ItemStack item)
      Specified by:
      setItemInHand in interface org.bukkit.entity.ArmorStand
    • getBoots

      public org.bukkit.inventory.ItemStack getBoots()
      Specified by:
      getBoots in interface org.bukkit.entity.ArmorStand
    • setBoots

      public void setBoots(org.bukkit.inventory.ItemStack item)
      Specified by:
      setBoots in interface org.bukkit.entity.ArmorStand
    • getLeggings

      public org.bukkit.inventory.ItemStack getLeggings()
      Specified by:
      getLeggings in interface org.bukkit.entity.ArmorStand
    • setLeggings

      public void setLeggings(org.bukkit.inventory.ItemStack item)
      Specified by:
      setLeggings in interface org.bukkit.entity.ArmorStand
    • getChestplate

      public org.bukkit.inventory.ItemStack getChestplate()
      Specified by:
      getChestplate in interface org.bukkit.entity.ArmorStand
    • setChestplate

      public void setChestplate(org.bukkit.inventory.ItemStack item)
      Specified by:
      setChestplate in interface org.bukkit.entity.ArmorStand
    • getHelmet

      public org.bukkit.inventory.ItemStack getHelmet()
      Specified by:
      getHelmet in interface org.bukkit.entity.ArmorStand
    • setHelmet

      public void setHelmet(org.bukkit.inventory.ItemStack item)
      Specified by:
      setHelmet in interface org.bukkit.entity.ArmorStand
    • getHeadPose

      public org.bukkit.util.EulerAngle getHeadPose()
      Specified by:
      getHeadPose in interface org.bukkit.entity.ArmorStand
    • setHeadPose

      public void setHeadPose(org.bukkit.util.EulerAngle pose)
      Specified by:
      setHeadPose in interface org.bukkit.entity.ArmorStand
    • getBodyPose

      public org.bukkit.util.EulerAngle getBodyPose()
      Specified by:
      getBodyPose in interface org.bukkit.entity.ArmorStand
    • setBodyPose

      public void setBodyPose(org.bukkit.util.EulerAngle pose)
      Specified by:
      setBodyPose in interface org.bukkit.entity.ArmorStand
    • getLeftArmPose

      public org.bukkit.util.EulerAngle getLeftArmPose()
      Specified by:
      getLeftArmPose in interface org.bukkit.entity.ArmorStand
    • setLeftArmPose

      public void setLeftArmPose(org.bukkit.util.EulerAngle pose)
      Specified by:
      setLeftArmPose in interface org.bukkit.entity.ArmorStand
    • getRightArmPose

      public org.bukkit.util.EulerAngle getRightArmPose()
      Specified by:
      getRightArmPose in interface org.bukkit.entity.ArmorStand
    • setRightArmPose

      public void setRightArmPose(org.bukkit.util.EulerAngle pose)
      Specified by:
      setRightArmPose in interface org.bukkit.entity.ArmorStand
    • getLeftLegPose

      public org.bukkit.util.EulerAngle getLeftLegPose()
      Specified by:
      getLeftLegPose in interface org.bukkit.entity.ArmorStand
    • setLeftLegPose

      public void setLeftLegPose(org.bukkit.util.EulerAngle pose)
      Specified by:
      setLeftLegPose in interface org.bukkit.entity.ArmorStand
    • getRightLegPose

      public org.bukkit.util.EulerAngle getRightLegPose()
      Specified by:
      getRightLegPose in interface org.bukkit.entity.ArmorStand
    • setRightLegPose

      public void setRightLegPose(org.bukkit.util.EulerAngle pose)
      Specified by:
      setRightLegPose in interface org.bukkit.entity.ArmorStand
    • hasBasePlate

      public boolean hasBasePlate()
      Specified by:
      hasBasePlate in interface org.bukkit.entity.ArmorStand
    • setBasePlate

      public void setBasePlate(boolean basePlate)
      Specified by:
      setBasePlate in interface org.bukkit.entity.ArmorStand
    • hasGravity

      public boolean hasGravity()
      Specified by:
      hasGravity in interface org.bukkit.entity.Entity
      hasGravity in class GlowEntity
    • setGravity

      public void setGravity(boolean gravity)
      Description copied from class: GlowEntity
      Whether gravity applies to the entity.
      Specified by:
      setGravity in interface org.bukkit.entity.Entity
      setGravity in class GlowEntity
    • isVisible

      public boolean isVisible()
      Specified by:
      isVisible in interface org.bukkit.entity.ArmorStand
    • setVisible

      public void setVisible(boolean visible)
      Specified by:
      setVisible in interface org.bukkit.entity.ArmorStand
    • hasArms

      public boolean hasArms()
      Specified by:
      hasArms in interface org.bukkit.entity.ArmorStand
    • setArms

      public void setArms(boolean arms)
      Specified by:
      setArms in interface org.bukkit.entity.ArmorStand
    • isSmall

      public boolean isSmall()
      Specified by:
      isSmall in interface org.bukkit.entity.ArmorStand
    • setSmall

      public void setSmall(boolean small)
      Specified by:
      setSmall in interface org.bukkit.entity.ArmorStand
    • isMarker

      public boolean isMarker()
      Specified by:
      isMarker in interface org.bukkit.entity.ArmorStand
    • setMarker

      public void setMarker(boolean marker)
      Specified by:
      setMarker in interface org.bukkit.entity.ArmorStand
    • canMove

      public boolean canMove()
      Specified by:
      canMove in interface org.bukkit.entity.ArmorStand
    • setCanMove

      public void setCanMove(boolean move)
      Specified by:
      setCanMove in interface org.bukkit.entity.ArmorStand
    • canTick

      public boolean canTick()
      Specified by:
      canTick in interface org.bukkit.entity.ArmorStand
    • isGliding

      public boolean isGliding()
      Specified by:
      isGliding in interface org.bukkit.entity.LivingEntity
      isGliding in class GlowLivingEntity
    • setCanTick

      public void setCanTick(boolean tick)
      Specified by:
      setCanTick in interface org.bukkit.entity.ArmorStand
    • getItem

      public org.bukkit.inventory.ItemStack getItem(org.bukkit.inventory.EquipmentSlot equipmentSlot)
      Specified by:
      getItem in interface org.bukkit.entity.ArmorStand
    • setItem

      public void setItem(org.bukkit.inventory.EquipmentSlot equipmentSlot, org.bukkit.inventory.ItemStack itemStack)
      Specified by:
      setItem in interface org.bukkit.entity.ArmorStand
    • getDisabledSlots

      public Set<org.bukkit.inventory.EquipmentSlot> getDisabledSlots()
      Specified by:
      getDisabledSlots in interface org.bukkit.entity.ArmorStand
    • setDisabledSlots

      public void setDisabledSlots(org.bukkit.inventory.EquipmentSlot... equipmentSlots)
      Specified by:
      setDisabledSlots in interface org.bukkit.entity.ArmorStand
    • addDisabledSlots

      public void addDisabledSlots(org.bukkit.inventory.EquipmentSlot... equipmentSlots)
      Specified by:
      addDisabledSlots in interface org.bukkit.entity.ArmorStand
    • removeDisabledSlots

      public void removeDisabledSlots(org.bukkit.inventory.EquipmentSlot... equipmentSlots)
      Specified by:
      removeDisabledSlots in interface org.bukkit.entity.ArmorStand
    • isSlotDisabled

      public boolean isSlotDisabled(org.bukkit.inventory.EquipmentSlot equipmentSlot)
      Specified by:
      isSlotDisabled in interface org.bukkit.entity.ArmorStand
    • addEquipmentLock

      public void addEquipmentLock(@NotNull @NotNull org.bukkit.inventory.EquipmentSlot equipmentSlot, @NotNull @NotNull org.bukkit.entity.ArmorStand.LockType lockType)
      Specified by:
      addEquipmentLock in interface org.bukkit.entity.ArmorStand
    • removeEquipmentLock

      public void removeEquipmentLock(@NotNull @NotNull org.bukkit.inventory.EquipmentSlot equipmentSlot, @NotNull @NotNull org.bukkit.entity.ArmorStand.LockType lockType)
      Specified by:
      removeEquipmentLock in interface org.bukkit.entity.ArmorStand
    • hasEquipmentLock

      public boolean hasEquipmentLock(@NotNull @NotNull org.bukkit.inventory.EquipmentSlot equipmentSlot, @NotNull @NotNull org.bukkit.entity.ArmorStand.LockType lockType)
      Specified by:
      hasEquipmentLock in interface org.bukkit.entity.ArmorStand
    • getEquipment

      public org.bukkit.inventory.EntityEquipment getEquipment()
      Specified by:
      getEquipment in interface org.bukkit.entity.LivingEntity
      getEquipment in class GlowLivingEntity