Uses of Interface
net.minecraft.network.chat.numbers.NumberFormat
Packages that use NumberFormat
Package
Description
-
Uses of NumberFormat in net.minecraft.network.chat.numbers
Classes in net.minecraft.network.chat.numbers with type parameters of type NumberFormatClasses in net.minecraft.network.chat.numbers that implement NumberFormatFields in net.minecraft.network.chat.numbers with type parameters of type NumberFormatModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NumberFormat>NumberFormatTypes.CODECstatic final com.mojang.serialization.MapCodec<NumberFormat>NumberFormatTypes.MAP_CODECMethods in net.minecraft.network.chat.numbers with type parameters of type NumberFormatModifier and TypeMethodDescriptionstatic <T extends NumberFormat>
voidNumberFormatTypes.writeToStream(FriendlyByteBuf p_313772_, T p_313732_) Methods in net.minecraft.network.chat.numbers that return NumberFormatModifier and TypeMethodDescriptionstatic NumberFormatNumberFormatTypes.readFromStream(FriendlyByteBuf p_313691_) Methods in net.minecraft.network.chat.numbers that return types with arguments of type NumberFormat -
Uses of NumberFormat in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as NumberFormatModifier and TypeFieldDescriptionprivate final NumberFormatClientboundSetObjectivePacket.numberFormatprivate final NumberFormatClientboundSetScorePacket.numberFormatThe field for thenumberFormatrecord component.Methods in net.minecraft.network.protocol.game that return NumberFormatModifier and TypeMethodDescriptionClientboundSetObjectivePacket.getNumberFormat()ClientboundSetScorePacket.numberFormat()Returns the value of thenumberFormatrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type NumberFormatModifierConstructorDescriptionClientboundSetScorePacket(String owner, String objectiveName, int score, Component display, NumberFormat numberFormat) Creates an instance of aClientboundSetScorePacketrecord class. -
Uses of NumberFormat in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type NumberFormatModifier and TypeMethodDescriptionintScoreboardCommand.NumberFormatCommandExecutor.run(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_313745_, NumberFormat p_313763_) private static intScoreboardCommand.setObjectiveFormat(CommandSourceStack p_313788_, Objective p_313769_, NumberFormat p_313731_) private static intScoreboardCommand.setScoreNumberFormat(CommandSourceStack p_313794_, Collection<ScoreHolder> p_313780_, Objective p_313752_, NumberFormat p_313869_) -
Uses of NumberFormat in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as NumberFormatModifier and TypeFieldDescriptionprivate NumberFormatObjective.numberFormatprivate NumberFormatScore.numberFormatprivate final NumberFormatPlayerScoreEntry.numberFormatOverrideThe field for thenumberFormatOverriderecord component.Methods in net.minecraft.world.scores that return NumberFormatModifier and TypeMethodDescriptionObjective.numberFormat()ReadOnlyScoreInfo.numberFormat()Score.numberFormat()Objective.numberFormatOrDefault(NumberFormat p_313850_) PlayerScoreEntry.numberFormatOverride()Returns the value of thenumberFormatOverriderecord component.Methods in net.minecraft.world.scores with parameters of type NumberFormatModifier and TypeMethodDescriptionScoreboard.addObjective(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_, boolean p_313815_, NumberFormat p_313909_) PlayerScoreEntry.formatValue(NumberFormat p_313792_) default MutableComponentReadOnlyScoreInfo.formatValue(NumberFormat p_313924_) voidScore.numberFormat(NumberFormat p_313931_) Objective.numberFormatOrDefault(NumberFormat p_313850_) voidScoreAccess.numberFormatOverride(NumberFormat p_313696_) static MutableComponentReadOnlyScoreInfo.safeFormatValue(ReadOnlyScoreInfo p_313916_, NumberFormat p_313801_) voidObjective.setNumberFormat(NumberFormat p_313942_) Constructors in net.minecraft.world.scores with parameters of type NumberFormatModifierConstructorDescriptionObjective(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_, boolean p_313856_, NumberFormat p_313758_) PlayerScoreEntry(String owner, int value, Component display, NumberFormat numberFormatOverride) Creates an instance of aPlayerScoreEntryrecord class.