Class Tint

java.lang.Object
com.beansgalaxy.backpacks.access.Tint

public class Tint extends Object
  • Field Details

    • track

      public static int track
    • COLOR_PREDICATE

      public static net.minecraft.client.renderer.item.ClampedItemPropertyFunction COLOR_PREDICATE
  • Constructor Details

    • Tint

      public Tint(int rgb)
    • Tint

      public Tint(int rgba, boolean hasAlpha)
  • Method Details

    • HSV

      public Tint.HSV HSV()
    • HSL

      public Tint.HSL HSL()
    • getRGBA

      public int getRGBA()
    • setAlpha

      public Tint setAlpha(byte a)
    • setAlpha

      public Tint setAlpha(float a)
    • brightness

      public double brightness()
    • isYellow

      public static boolean isYellow(int color)
    • isGreen

      public static boolean isGreen(int color)
    • getFloats

      public float[] getFloats()
    • getRed

      public int getRed()
    • getGreen

      public int getGreen()
    • getBlue

      public int getBlue()
    • getAlpha

      public int getAlpha()
    • toString

      public String toString()
      Overrides:
      toString in class Object