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

    • Brightness

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

    • getBlockLight

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object