Uses of Enum Class
net.minecraft.world.scores.DisplaySlot
Packages that use DisplaySlot
Package
Description
-
Uses of DisplaySlot in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return DisplaySlotModifier 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
Fields in net.minecraft.network.protocol.game declared as DisplaySlotModifier and TypeFieldDescriptionprivate final DisplaySlot
ClientboundSetDisplayObjectivePacket.slot
Methods in net.minecraft.network.protocol.game that return DisplaySlotConstructors in net.minecraft.network.protocol.game with parameters of type DisplaySlotModifierConstructorDescriptionClientboundSetDisplayObjectivePacket
(DisplaySlot pSlot, Objective pObjective) -
Uses of DisplaySlot in net.minecraft.server
Methods in net.minecraft.server with parameters of type DisplaySlotModifier and TypeMethodDescriptionvoid
ServerScoreboard.setDisplayObjective
(DisplaySlot pSlot, Objective pObjective) -
Uses of DisplaySlot in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type DisplaySlotModifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.clearDisplaySlot
(CommandSourceStack pSource, DisplaySlot pSlot) private static int
ScoreboardCommand.setDisplaySlot
(CommandSourceStack pSource, DisplaySlot pSlot, Objective pObjective) -
Uses of DisplaySlot in net.minecraft.world.scores
Fields in net.minecraft.world.scores with type parameters of type DisplaySlotModifier and TypeFieldDescriptionstatic final IntFunction
<DisplaySlot> DisplaySlot.BY_ID
static final StringRepresentable.EnumCodec
<DisplaySlot> DisplaySlot.CODEC
private final Map
<DisplaySlot, Objective> Scoreboard.displayObjectives
Methods in net.minecraft.world.scores that return DisplaySlotModifier and TypeMethodDescriptionstatic DisplaySlot
DisplaySlot.teamColorToSlot
(ChatFormatting pFormatting) 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.Methods in net.minecraft.world.scores with parameters of type DisplaySlotModifier and TypeMethodDescriptionScoreboard.getDisplayObjective
(DisplaySlot pSlot) void
Scoreboard.setDisplayObjective
(DisplaySlot pSlot, Objective pObjective)