Package dev.latvian.mods.kubejs.color
Class SimpleColorWithAlpha
java.lang.Object
dev.latvian.mods.kubejs.color.SimpleColorWithAlpha
- All Implemented Interfaces:
KubeColor,dev.latvian.mods.rhino.util.SpecialEquality
-
Field Summary
Fields 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, kjs$toHexString, specialEquals
-
Constructor Details
-
SimpleColorWithAlpha
public SimpleColorWithAlpha(int v)
-
-
Method Details
-
kjs$getARGB
public int kjs$getARGB()- Specified by:
kjs$getARGBin interfaceKubeColor
-
kjs$createTextColor
public net.minecraft.network.chat.TextColor kjs$createTextColor()- Specified by:
kjs$createTextColorin interfaceKubeColor
-
toString
-