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
private final Map
<DisplaySlot, String> ScoreboardSaveData.Packed.displaySlots
The field for thedisplaySlots
record component.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 that return types with arguments of type DisplaySlotModifier and TypeMethodDescriptionScoreboardSaveData.Packed.displaySlots()
Returns the value of thedisplaySlots
record component.Methods in net.minecraft.world.scores with parameters of type DisplaySlotModifier and TypeMethodDescriptionScoreboard.getDisplayObjective
(DisplaySlot pSlot) void
Scoreboard.setDisplayObjective
(DisplaySlot pSlot, Objective pObjective) Constructor parameters in net.minecraft.world.scores with type arguments of type DisplaySlotModifierConstructorDescriptionPacked
(List<Objective.Packed> objectives, List<Scoreboard.PackedScore> scores, Map<DisplaySlot, String> displaySlots, List<PlayerTeam.Packed> teams) Creates an instance of aPacked
record class.