Uses of Enum Class
net.minecraft.world.scores.DisplaySlot
Package
Description
-
Uses of DisplaySlot in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic DisplaySlot
ScoreboardSlotArgument.getDisplaySlot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_109200_, String p_109201_) ScoreboardSlotArgument.parse
(com.mojang.brigadier.StringReader p_109198_) -
Uses of DisplaySlot in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final DisplaySlot
ClientboundSetDisplayObjectivePacket.slot
ModifierConstructorDescriptionClientboundSetDisplayObjectivePacket
(DisplaySlot p_301315_, Objective p_133132_) -
Uses of DisplaySlot in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
ServerScoreboard.setDisplayObjective
(DisplaySlot p_297629_, Objective p_136200_) -
Uses of DisplaySlot in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.clearDisplaySlot
(CommandSourceStack p_138478_, DisplaySlot p_301105_) private static int
ScoreboardCommand.setDisplaySlot
(CommandSourceStack p_138481_, DisplaySlot p_300906_, Objective p_138483_) -
Uses of DisplaySlot in net.minecraft.world.scores
Modifier and TypeFieldDescriptionstatic final IntFunction<DisplaySlot>
DisplaySlot.BY_ID
static final StringRepresentable.EnumCodec<DisplaySlot>
DisplaySlot.CODEC
private final Map<DisplaySlot,
Objective> Scoreboard.displayObjectives
Modifier and TypeMethodDescriptionstatic DisplaySlot
DisplaySlot.teamColorToSlot
(ChatFormatting p_298500_) static DisplaySlot
Returns the enum constant of this class with the specified name.static DisplaySlot[]
DisplaySlot.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionScoreboard.getDisplayObjective
(DisplaySlot p_297931_) void
Scoreboard.setDisplayObjective
(DisplaySlot p_297926_, Objective p_83419_)