net.minecraft.world.item

public enum DyeColor

implements StringRepresentable

bku
net.minecraft.world.item.DyeColor
net.minecraft.class_1767
net.minecraft.util.DyeColor
net.minecraft.item.DyeColor
net.minecraft.server.v1_16_R2.EnumColor

Enum constant summary

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

Field summary

Modifier and TypeField
private static final DyeColor[]
q
BY_ID
field_7959
VALUES
field_196062_q
private static final it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<DyeColor>
r
BY_FIREWORK_COLOR
field_7950
BY_FIREWORK_COLOR
field_196063_r
private final int
s
id
field_7965
id
field_196064_s
private final String
t
name
field_7948
name
field_176785_v
private final MaterialColor
u
color
field_7956
materialColor
field_196065_u
private final int
v
textureDiffuseColor
field_7949
color
field_193351_w
private final int
w
textureDiffuseColorBGR
field_7962
colorSwapped
field_196066_w
private final float[]
x
textureDiffuseColors
field_7943
colorComponents
field_193352_x
private final int
y
fireworkColor
field_7960
fireworkColor
field_196067_y
private final int
z
textColor
field_16537
signColor
field_218390_z

Constructor summary

ModifierConstructor
private (int arg0, String arg1, int woolId, MaterialColor name, int color, int materialColor)

Method summary

Modifier and TypeMethod
public int
b()
getId()
method_7789()
getId()
func_196059_a()
getColorIndex()
public String
c()
getName()
method_7792()
getName()
func_176762_d()
public float[]
e()
getTextureDiffuseColors()
method_7787()
getColorComponents()
func_193349_f()
getColor()
public MaterialColor
f()
getMaterialColor()
method_7794()
getMaterialColor()
func_196055_e()
public int
g()
getFireworkColor()
method_7790()
getFireworkColor()
func_196060_f()
getFireworksColor()
public static DyeColor
a(int arg0)
byId(int arg0)
method_7791(int arg0)
byId(int id)
func_196056_a(int arg0)
fromColorIndex(int arg0)
public static DyeColor
a(String arg0, bku arg1)
byName(String arg0, DyeColor arg1)
method_7793(String arg0, class_1767 arg1)
byName(String name, DyeColor defaultColor)
func_204271_a(String arg0, DyeColor arg1)
public String
a()
getSerializedName()
method_15434()
asString()
func_176610_l()
getName()
public int
h()
getTextColor()
method_16357()
getSignColor()
func_218388_g()
public static DyeColor
b(int arg0)
byFireworkColor(int arg0)
method_7786(int arg0)
byFireworkColor(int color)
func_196058_b(int arg0)