net.minecraft.world.item

public enum DyeColor

implements StringRepresentable

cti
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 IntFunction<DyeColor>
s
BY_ID
field_7959
BY_ID
f_41032_
private static final it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<DyeColor>
t
BY_FIREWORK_COLOR
field_7950
BY_FIREWORK_COLOR
f_41033_
public static final StringRepresentable$EnumCodec<DyeColor>
q
CODEC
field_41600
CODEC
f_262211_
public static final StreamCodec<io.netty.buffer.ByteBuf, DyeColor>
r
STREAM_CODEC
field_49259
PACKET_CODEC
f_313960_
private final int
u
id
field_7965
id
f_41034_
private final String
v
name
field_7948
name
f_41035_
private final MapColor
w
mapColor
field_7956
mapColor
f_283766_
private final int
x
textureDiffuseColor
field_7943
entityColor
f_337674_
private final int
y
fireworkColor
field_7960
fireworkColor
f_41040_
private final int
z
textColor
field_16537
signColor
f_41041_

Constructor summary

ModifierConstructor
private (int p_41045_, String p_41046_, int id, MapColor name, int entityColor, int mapColor)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_7789()
getId()
m_41060_()
public String
b()
getName()
method_7792()
getName()
m_41065_()
public int
d()
getTextureDiffuseColor()
method_7787()
getEntityColor()
m_340318_()
public MapColor
e()
getMapColor()
method_7794()
getMapColor()
m_284406_()
public int
f()
getFireworkColor()
method_7790()
getFireworkColor()
m_41070_()
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_)
public static DyeColor
a(String arg0, cti 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_()