Uses of Enum Class
net.minecraft.scoreboard.ScoreboardDisplaySlot
Packages that use ScoreboardDisplaySlot
Package
Description
-
Uses of ScoreboardDisplaySlot in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return ScoreboardDisplaySlotModifier 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
Fields in net.minecraft.network.packet.s2c.play declared as ScoreboardDisplaySlotModifier and TypeFieldDescriptionprivate final ScoreboardDisplaySlot
ScoreboardDisplayS2CPacket.slot
Methods in net.minecraft.network.packet.s2c.play that return ScoreboardDisplaySlotConstructors in net.minecraft.network.packet.s2c.play with parameters of type ScoreboardDisplaySlotModifierConstructorDescriptionScoreboardDisplayS2CPacket
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) -
Uses of ScoreboardDisplaySlot in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard with type parameters of type ScoreboardDisplaySlotModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<ScoreboardDisplaySlot>
ScoreboardDisplaySlot.CODEC
static final IntFunction<ScoreboardDisplaySlot>
ScoreboardDisplaySlot.FROM_ID
private final Map<ScoreboardDisplaySlot,
ScoreboardObjective> Scoreboard.objectiveSlots
Methods in net.minecraft.scoreboard that return ScoreboardDisplaySlotModifier 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.Methods in net.minecraft.scoreboard with parameters of type ScoreboardDisplaySlotModifier and TypeMethodDescriptionScoreboard.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
Methods in net.minecraft.server.command with parameters of type ScoreboardDisplaySlotModifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.executeClearDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot) private static int
ScoreboardCommand.executeSetDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective)