Class Glow

java.lang.Object
org.kingdoms.utils.scoreboards.Glow
All Implemented Interfaces:
org.bukkit.event.Listener

public final class Glow extends Object implements org.bukkit.event.Listener
  • Constructor Details

    • Glow

      public Glow()
  • Method Details

    • setGlowing

      public static void setGlowing(org.bukkit.entity.Player receiver, GlowScoreboard.Color color, org.bukkit.entity.Entity... members)
    • removeGlow

      public static void removeGlow(org.bukkit.entity.Player receiver)
    • isGlowing

      public static boolean isGlowing(org.bukkit.entity.Entity entity, org.bukkit.entity.Player receiver)
      Check if an entity is glowing
      Parameters:
      entity - Entity to check
      receiver - Player receiver to check (as used in the setGlowing methods)
      Returns:
      true if the entity appears glowing to the player
    • glowBlock

      public static void glowBlock(org.bukkit.Location location)
    • sendGlowPacket

      protected static void sendGlowPacket(org.bukkit.entity.Player receiver, boolean glowing, org.bukkit.entity.Entity entity)
    • resolveByLastType

      public static Field resolveByLastType(Class<?> clazz, Class<?> type) throws ReflectiveOperationException
      Throws:
      ReflectiveOperationException