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 DisplaySlotScoreboardSlotArgument.getDisplaySlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pSlot) ScoreboardSlotArgument.parse(com.mojang.brigadier.StringReader pReader) -
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 pSlot, @Nullable Objective pObjective) -
Uses of DisplaySlot in net.minecraft.server
Methods in net.minecraft.server with parameters of type DisplaySlotModifier and TypeMethodDescriptionvoidServerScoreboard.setDisplayObjective(DisplaySlot p_294118_, @Nullable Objective p_136200_) -
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 pSource, DisplaySlot pSlot) private static intScoreboardCommand.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_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 pFormatting) 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 pSlot) voidScoreboard.setDisplayObjective(DisplaySlot pSlot, @Nullable 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 aPackedrecord class.