Package com.beansgalaxy.backpacks.access
Class Tint
java.lang.Object
com.beansgalaxy.backpacks.access.Tint
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.client.renderer.item.ClampedItemPropertyFunctionstatic int -
Constructor Summary
Constructors -
Method Summary
-
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
-
HSL
-
getRGBA
public int getRGBA() -
setAlpha
-
setAlpha
-
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
-