Uses of Enum Class
net.minecraft.world.scores.DisplaySlot
Packages that use DisplaySlot
Package
Description
-
Uses of DisplaySlot in net.minecraft.commands.arguments
Classes in net.minecraft.commands.arguments that implement interfaces with type arguments of type DisplaySlotMethods in net.minecraft.commands.arguments that return DisplaySlotModifier and TypeMethodDescriptionstatic DisplaySlotScoreboardSlotArgument.getDisplaySlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ScoreboardSlotArgument.parse(com.mojang.brigadier.StringReader reader) -
Uses of DisplaySlot in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as DisplaySlotModifier and TypeFieldDescriptionprivate final DisplaySlotClientboundSetDisplayObjectivePacket.slotMethods in net.minecraft.network.protocol.game that return DisplaySlotConstructors in net.minecraft.network.protocol.game with parameters of type DisplaySlotModifierConstructorDescriptionClientboundSetDisplayObjectivePacket(DisplaySlot slot, @Nullable Objective objective) -
Uses of DisplaySlot in net.minecraft.server
Methods in net.minecraft.server with parameters of type DisplaySlotModifier and TypeMethodDescriptionvoidServerScoreboard.setDisplayObjective(DisplaySlot slot, @Nullable Objective objective) -
Uses of DisplaySlot in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type DisplaySlotModifier and TypeMethodDescriptionprivate static intScoreboardCommand.clearDisplaySlot(CommandSourceStack source, DisplaySlot slot) private static intScoreboardCommand.setDisplaySlot(CommandSourceStack source, DisplaySlot slot, Objective objective) -
Uses of DisplaySlot in net.minecraft.world.scores
Subclasses with type arguments of type DisplaySlot in net.minecraft.world.scoresFields in net.minecraft.world.scores with type parameters of type DisplaySlotModifier and TypeFieldDescriptionstatic final IntFunction<DisplaySlot> DisplaySlot.BY_IDstatic final StringRepresentable.EnumCodec<DisplaySlot> DisplaySlot.CODECprivate final Map<DisplaySlot, Objective> Scoreboard.displayObjectivesprivate final Map<DisplaySlot, String> ScoreboardSaveData.Packed.displaySlotsThe field for thedisplaySlotsrecord component.Methods in net.minecraft.world.scores that return DisplaySlotModifier and TypeMethodDescriptionstatic @Nullable DisplaySlotDisplaySlot.teamColorToSlot(ChatFormatting color) static DisplaySlotReturns 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 thedisplaySlotsrecord component.protected Map<DisplaySlot, String> Scoreboard.packDisplaySlots()Methods in net.minecraft.world.scores with parameters of type DisplaySlotModifier and TypeMethodDescription@Nullable ObjectiveScoreboard.getDisplayObjective(DisplaySlot slot) voidScoreboard.setDisplayObjective(DisplaySlot slot, @Nullable Objective objective) 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 aPackedrecord class.