类 Display.Brightness

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

public static class Display.Brightness extends Object
表示实体的亮度渲染参数.
  • 构造器详细资料

    • Brightness

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

    • getBlockLight

      public int getBlockLight()
      获取此亮度的方块光照分量.

      原文:Gets the block lighting component of this brightness.

      返回:
      方块光照, 0-15 之间
    • getSkyLight

      public int getSkyLight()
      获取此亮度的天空光照分量.

      原文:Gets the sky lighting component of this brightness.

      返回:
      天空光照, 0-15 之间
    • hashCode

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

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

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