net.minecraft.world.item

public enum DyeColor

implements StringRepresentable

cwm
net.minecraft.world.item.DyeColor
net.minecraft.class_1767
net.minecraft.util.DyeColor
net.minecraft.world.item.EnumColor

Enum constant summary

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

Field summary

Modifier and TypeField
private static final IntFunction<DyeColor>
s
BY_ID
field_7959
BY_ID
private static final it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<DyeColor>
t
BY_FIREWORK_COLOR
field_7950
BY_FIREWORK_COLOR
public static final StringRepresentable$EnumCodec<DyeColor>
q
CODEC
field_41600
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, DyeColor>
r
STREAM_CODEC
field_49259
PACKET_CODEC
private final int
u
id
field_7965
id
private final String
v
name
field_7948
name
private final MapColor
w
mapColor
field_7956
mapColor
private final int
x
textureDiffuseColor
field_7943
entityColor
private final int
y
fireworkColor
field_7960
fireworkColor
private final int
z
textColor
field_16537
signColor

Constructor summary

ModifierConstructor
private (int arg0, String arg1, int id, MapColor name, int entityColor, int mapColor)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_7789()
getId()
public String
b()
getName()
method_7792()
getName()
public int
d()
getTextureDiffuseColor()
method_7787()
getEntityColor()
public MapColor
e()
getMapColor()
method_7794()
getMapColor()
public int
f()
getFireworkColor()
method_7790()
getFireworkColor()
public int
g()
getTextColor()
method_16357()
getSignColor()
public static DyeColor
a(int arg0)
byId(int arg0)
method_7791(int arg0)
byId(int id)
public static DyeColor
a(String arg0, cwm arg1)
byName(String arg0, DyeColor arg1)
method_7793(String arg0, class_1767 arg1)
byName(String name, DyeColor defaultColor)
public static DyeColor
b(int arg0)
byFireworkColor(int arg0)
method_7786(int arg0)
byFireworkColor(int color)
public String
c()
getSerializedName()
method_15434()
asString()