net.minecraft.scoreboard

public enum TeamColor

implements StringIdentifiable

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

Enum constant summary

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

Field summary

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

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)
method_1_5182(String arg0)
byName(String name)
public TextColor
textColor()
method_1_5187()
getTextColor()
public ScoreboardDisplaySlot
displaySlot()
method_1_5183()
getDisplaySlot()
public int
rgb()
method_1_5186()
getRgbColor()
public String
getSerializedName()
method_15434()
asString()
private static TeamColor[]
$values()
method_1_5181()
method_1_5181()
private static int
lambda$static$1(TeamColor arg0)
method_1_5185(class_1_851 arg0)
method_1_5185(TeamColor color)
private static int
lambda$static$0(TeamColor arg0)
method_1_5184(class_1_851 arg0)
method_1_5184(TeamColor color)