net.minecraft.world.item

public enum DyeColor

implements StringRepresentable

czy
net.minecraft.world.item.DyeColor
net.minecraft.class_1767

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (int arg0, String arg1, int arg2, MapColor arg3, int arg4, int arg5)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_7789()
public String
b()
getName()
method_7792()
public int
d()
getTextureDiffuseColor()
method_7787()
public MapColor
e()
getMapColor()
method_7794()
public int
f()
getFireworkColor()
method_7790()
public int
g()
getTextColor()
method_16357()
public static DyeColor
a(int arg0)
byId(int arg0)
method_7791(int arg0)
public static DyeColor
a(String arg0, czy arg1)
byName(String arg0, DyeColor arg1)
method_7793(String arg0, class_1767 arg1)
public static DyeColor
b(int arg0)
byFireworkColor(int arg0)
method_7786(int arg0)
public String
c()
getSerializedName()
method_15434()
public static DyeColor
a(asi arg0, czy arg1, czy arg2)
getMixedColor(ServerLevel arg0, DyeColor arg1, DyeColor arg2)
method_65355(class_3218 arg0, class_1767 arg1, class_1767 arg2)
private static CraftingInput
a(czy arg0, czy arg1)
makeCraftColorInput(DyeColor arg0, DyeColor arg1)
method_65356(class_1767 arg0, class_1767 arg1)