Uses of Enum Class
net.minecraft.scoreboard.ScoreboardDisplaySlot
Package
Description
-
Uses of ScoreboardDisplaySlot in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic ScoreboardDisplaySlot
ScoreboardSlotArgumentType.getScoreboardSlot
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) ScoreboardSlotArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of ScoreboardDisplaySlot in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final ScoreboardDisplaySlot
ScoreboardDisplayS2CPacket.slot
ModifierConstructorDescriptionScoreboardDisplayS2CPacket
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) -
Uses of ScoreboardDisplaySlot in net.minecraft.scoreboard
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<ScoreboardDisplaySlot>
ScoreboardDisplaySlot.CODEC
static final IntFunction<ScoreboardDisplaySlot>
ScoreboardDisplaySlot.FROM_ID
private final Map<ScoreboardDisplaySlot,
ScoreboardObjective> Scoreboard.objectiveSlots
Modifier and TypeMethodDescriptionstatic @Nullable ScoreboardDisplaySlot
ScoreboardDisplaySlot.fromFormatting
(Formatting formatting) static ScoreboardDisplaySlot
Returns the enum constant of this class with the specified name.static ScoreboardDisplaySlot[]
ScoreboardDisplaySlot.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescription@Nullable ScoreboardObjective
Scoreboard.getObjectiveForSlot
(ScoreboardDisplaySlot slot) void
Scoreboard.setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) void
ServerScoreboard.setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) -
Uses of ScoreboardDisplaySlot in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.executeClearDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot) private static int
ScoreboardCommand.executeSetDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective)