Class GlowHangingEntity

java.lang.Object
net.glowstone.entity.GlowEntity
net.glowstone.entity.GlowHangingEntity
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.command.CommandSender, org.bukkit.entity.Entity, org.bukkit.entity.Hanging, org.bukkit.material.Attachable, org.bukkit.material.Directional, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder
Direct Known Subclasses:
GlowItemFrame, GlowLeashHitch, GlowPainting

public abstract class GlowHangingEntity extends GlowEntity implements org.bukkit.entity.Hanging
  • Field Details

  • Constructor Details

    • GlowHangingEntity

      public GlowHangingEntity(org.bukkit.Location location, org.bukkit.block.BlockFace clickedface)
  • Method Details

    • getAttachedFace

      public org.bukkit.block.BlockFace getAttachedFace()
      Specified by:
      getAttachedFace in interface org.bukkit.material.Attachable
    • getFacing

      public org.bukkit.block.BlockFace getFacing()
      Description copied from class: GlowEntity
      Gets the full direction (including SOUTH_SOUTH_EAST etc) this entity is facing.
      Specified by:
      getFacing in interface org.bukkit.material.Directional
      Specified by:
      getFacing in interface org.bukkit.entity.Entity
      Overrides:
      getFacing in class GlowEntity
      Returns:
      The intercardinal BlockFace of this entity
    • getYaw

      protected int getYaw()