类 Display.Brightness

java.lang.Object
org.bukkit.entity.Display.Brightness
封闭接口:
Display

public static class Display.Brightness extends Object
Represents the brightness rendering parameters of the entity.
  • 构造器详细资料

    • Brightness

      public Brightness(int blockLight, int skyLight)
  • 方法详细资料

    • getBlockLight

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

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

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object