net.minecraft.scoreboard

public enum TeamColor

implements StringIdentifiable

net.minecraft.world.scores.TeamColor
net.minecraft.world.scores.TeamColor
net.minecraft.class_1_851
net.minecraft.scoreboard.TeamColor

Enum constant summary

Enum Constant
BLACK
BLACK
field_1_6026
BLACK
DARK_BLUE
DARK_BLUE
field_1_6031
DARK_BLUE
DARK_GREEN
DARK_GREEN
field_1_6033
DARK_GREEN
DARK_AQUA
DARK_AQUA
field_1_6030
DARK_AQUA
DARK_RED
DARK_RED
field_1_6035
DARK_RED
DARK_PURPLE
DARK_PURPLE
field_1_6034
DARK_PURPLE
GOLD
GOLD
field_1_6036
GOLD
GRAY
GRAY
field_1_6037
GRAY
DARK_GRAY
DARK_GRAY
field_1_6032
DARK_GRAY
BLUE
BLUE
field_1_6027
BLUE
GREEN
GREEN
field_1_6038
GREEN
AQUA
AQUA
field_1_6025
AQUA
RED
RED
field_1_6040
RED
LIGHT_PURPLE
LIGHT_PURPLE
field_1_6039
LIGHT_PURPLE
YELLOW
YELLOW
field_1_6044
YELLOW
WHITE
WHITE
field_1_6043
WHITE

Field summary

Modifier and TypeField
public static final List<TeamColor>
VALUES
VALUES
field_1_6042
VALUES
public static final StringIdentifiable$EnumCodec<TeamColor>
CODEC
CODEC
field_1_6029
CODEC
private static final IntFunction<TeamColor>
BY_ID
BY_ID
field_1_6028
FROM_INDEX_FUNCTION
public static final PacketCodec<io.netty.buffer.ByteBuf, TeamColor>
STREAM_CODEC
STREAM_CODEC
field_1_6041
PACKET_CODEC
private final int
id
id
field_1_6047
index
private final String
name
name
field_1_6048
name
private final TextColor
format
format
field_1_6046
textColor
private final ScoreboardDisplaySlot
displaySlot
displaySlot
field_1_6045
displaySlot

Constructor summary

ModifierConstructor
private (int $enum$name, String $enum$ordinal, TextColor index, ScoreboardDisplaySlot name)

Method summary

Modifier and TypeMethod
public static TeamColor
byName(String name)
byName(String name)
method_1_5182(String arg0)
byName(String name)
public TextColor
textColor()
textColor()
method_1_5187()
getTextColor()
public ScoreboardDisplaySlot
displaySlot()
displaySlot()
method_1_5183()
getDisplaySlot()
public int
rgb()
rgb()
method_1_5186()
getRgbColor()
public String
getSerializedName()
getSerializedName()
method_15434()
asString()