Package dev.latvian.mods.kubejs.color
Class SimpleColor
java.lang.Object
dev.latvian.mods.kubejs.color.SimpleColor
- All Implemented Interfaces:
KubeColor,dev.latvian.mods.rhino.util.SpecialEquality
-
Field Summary
FieldsFields inherited from interface dev.latvian.mods.kubejs.color.KubeColor
CODEC, OPTIONAL_STREAM_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.color.KubeColor
kjs$getFireworkRGB, kjs$getRGB, kjs$serialize, specialEquals
-
Field Details
-
BLACK
-
WHITE
-
-
Constructor Details
-
SimpleColor
public SimpleColor(int v)
-
-
Method Details
-
kjs$getARGB
public int kjs$getARGB()- Specified by:
kjs$getARGBin interfaceKubeColor
-
kjs$toHexString
- Specified by:
kjs$toHexStringin interfaceKubeColor
-
toString
-
kjs$createTextColor
public net.minecraft.network.chat.TextColor kjs$createTextColor()- Specified by:
kjs$createTextColorin interfaceKubeColor
-