Class Display.Brightness

java.lang.Object
org.bukkit.entity.Display.Brightness
Enclosing interface:
Display

public static class Display.Brightness extends Object
Represents the brightness rendering parameters of the entity.
  • Constructor Details Link icon

    • Brightness Link icon

      public Brightness(int blockLight, int skyLight)
  • Method Details Link icon

    • getBlockLight Link icon

      public int getBlockLight()
      Gets the block lighting component of this brightness.
      Returns:
      block light, between 0-15
    • getSkyLight Link icon

      public int getSkyLight()
      Gets the sky lighting component of this brightness.
      Returns:
      sky light, between 0-15
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals Link icon

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object