Class SettingColor
java.lang.Object
meteordevelopment.meteorclient.utils.render.color.Color
meteordevelopment.meteorclient.utils.render.color.SettingColor
- All Implemented Interfaces:
ICopyable<Color>,ISerializable<Color>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSettingColor(float r, float g, float b, float a) SettingColor(int packed) SettingColor(int r, int g, int b) SettingColor(int r, int g, int b, boolean rainbow) SettingColor(int r, int g, int b, int a) SettingColor(int r, int g, int b, int a, boolean rainbow) SettingColor(Color color) SettingColor(SettingColor color) SettingColor(net.minecraft.text.Style style) SettingColor(net.minecraft.text.TextColor textColor) SettingColor(net.minecraft.util.Formatting formatting) -
Method Summary
-
Field Details
-
rainbow
public boolean rainbow
-
-
Constructor Details
-
SettingColor
public SettingColor() -
SettingColor
public SettingColor(int packed) -
SettingColor
public SettingColor(int r, int g, int b) -
SettingColor
public SettingColor(int r, int g, int b, boolean rainbow) -
SettingColor
public SettingColor(int r, int g, int b, int a) -
SettingColor
public SettingColor(float r, float g, float b, float a) -
SettingColor
public SettingColor(int r, int g, int b, int a, boolean rainbow) -
SettingColor
-
SettingColor
-
SettingColor
public SettingColor(net.minecraft.util.Formatting formatting) -
SettingColor
public SettingColor(net.minecraft.text.TextColor textColor) -
SettingColor
public SettingColor(net.minecraft.text.Style style)
-
-
Method Details
-
rainbow
-
update
public void update() -
set
-
copy
-
toTag
public net.minecraft.nbt.NbtCompound toTag()- Specified by:
toTagin interfaceISerializable<Color>- Overrides:
toTagin classColor
-
fromTag
- Specified by:
fromTagin interfaceISerializable<Color>- Overrides:
fromTagin classColor
-
equals
-
hashCode
public int hashCode()
-