Class Color
java.lang.Object
johnsmith.configoverhauled.api.data.Color
Acts as a type-key for dynamic factory registration and constructor resolution.
This class is not instantiable. Color properties process data strictly as primitive integers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Integer> Serializes primitive integer colors to hexadecimal strings and deserializes valid hexadecimal strings into integers.static final intThe minimum integer boundary representing a valid RGB color (0x00000000).static final intThe maximum integer boundary representing a valid RGB color (0xFFFFFFFF).static final com.mojang.serialization.Codec<Integer> Serializes primitive integer colors to hexadecimal strings and deserializes valid hexadecimal strings into integers.static final intThe minimum integer boundary representing a valid RGB color (0x00000000).static final intThe maximum integer boundary representing a valid RGB color (0x00FFFFFF). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RGB_LOWER_BOUND
public static final int RGB_LOWER_BOUNDThe minimum integer boundary representing a valid RGB color (0x00000000).- See Also:
-
RGB_UPPER_BOUND
public static final int RGB_UPPER_BOUNDThe maximum integer boundary representing a valid RGB color (0x00FFFFFF).- See Also:
-
ARGB_LOWER_BOUND
public static final int ARGB_LOWER_BOUNDThe minimum integer boundary representing a valid RGB color (0x00000000).- See Also:
-
ARGB_UPPER_BOUND
public static final int ARGB_UPPER_BOUNDThe maximum integer boundary representing a valid RGB color (0xFFFFFFFF).- See Also:
-
RGB_CODEC
Serializes primitive integer colors to hexadecimal strings and deserializes valid hexadecimal strings into integers. -
ARGB_CODEC
Serializes primitive integer colors to hexadecimal strings and deserializes valid hexadecimal strings into integers.
-
-
Constructor Details
-
Color
public Color()
-