net.minecraft.world.item

public enum DyeColor

implements StringRepresentable

bpm
net.minecraft.world.item.DyeColor
net.minecraft.class_1767
net.minecraft.util.DyeColor
net.minecraft.src.C_1353_
net.minecraft.world.item.EnumColor

Enum constant summary

Enum Constant
a
WHITE
field_7952
WHITE
WHITE
b
ORANGE
field_7946
ORANGE
ORANGE
c
MAGENTA
field_7958
MAGENTA
MAGENTA
d
LIGHT_BLUE
field_7951
LIGHT_BLUE
LIGHT_BLUE
e
YELLOW
field_7947
YELLOW
YELLOW
f
LIME
field_7961
LIME
LIME
g
PINK
field_7954
PINK
PINK
h
GRAY
field_7944
GRAY
GRAY
i
LIGHT_GRAY
field_7967
LIGHT_GRAY
LIGHT_GRAY
j
CYAN
field_7955
CYAN
CYAN
k
PURPLE
field_7945
PURPLE
PURPLE
l
BLUE
field_7966
BLUE
BLUE
m
BROWN
field_7957
BROWN
BROWN
n
GREEN
field_7942
GREEN
GREEN
o
RED
field_7964
RED
RED
p
BLACK
field_7963
BLACK
BLACK

Field summary

Modifier and TypeField
private static final DyeColor[]
q
BY_ID
field_7959
VALUES
f_41032_
private static final it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<DyeColor>
r
BY_FIREWORK_COLOR
field_7950
BY_FIREWORK_COLOR
f_41033_
private final int
s
id
field_7965
id
f_41034_
private final String
t
name
field_7948
name
f_41035_
private final MaterialColor
u
color
field_7956
mapColor
f_41036_
private final float[]
v
textureDiffuseColors
field_7943
colorComponents
f_41039_
private final int
w
fireworkColor
field_7960
fireworkColor
f_41040_
private final int
x
textColor
field_16537
signColor
f_41041_

Constructor summary

ModifierConstructor
private (int p_41045_, String p_41046_, int woolId, MaterialColor name, int color, int mapColor)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_7789()
getId()
m_41060_()
getColorIndex()
public String
b()
getName()
method_7792()
getName()
m_41065_()
public float[]
d()
getTextureDiffuseColors()
method_7787()
getColorComponents()
m_41068_()
getColor()
public MaterialColor
e()
getMaterialColor()
method_7794()
getMapColor()
m_41069_()
public int
f()
getFireworkColor()
method_7790()
getFireworkColor()
m_41070_()
getFireworksColor()
public int
g()
getTextColor()
method_16357()
getSignColor()
m_41071_()
public static DyeColor
a(int arg0)
byId(int arg0)
method_7791(int arg0)
byId(int id)
m_41053_(int p_41054_)
fromColorIndex(int arg0)
public static DyeColor
a(String arg0, bpm arg1)
byName(String arg0, DyeColor arg1)
method_7793(String arg0, class_1767 arg1)
byName(String name, DyeColor defaultColor)
m_41057_(String p_41058_, C_1353_ p_41059_)
public static DyeColor
b(int arg0)
byFireworkColor(int arg0)
method_7786(int arg0)
byFireworkColor(int color)
m_41061_(int p_41062_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
getName()