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 NumberFormatModifier and TypeClassDescriptionclassfinal recordfinal recordFields 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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<NumberFormat>> NumberFormatTypes.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, NumberFormat> NumberFormatTypes.STREAM_CODECMethods 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 with type parameters of type NumberFormatModifier and TypeFieldDescriptionprivate final Optional<NumberFormat> ClientboundSetObjectivePacket.numberFormatprivate final Optional<NumberFormat> ClientboundSetScorePacket.numberFormatThe field for thenumberFormatrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type NumberFormatModifier and TypeMethodDescriptionClientboundSetObjectivePacket.getNumberFormat()ClientboundSetScorePacket.numberFormat()Returns the value of thenumberFormatrecord component. -
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> context, @Nullable NumberFormat format) private static intScoreboardCommand.setObjectiveFormat(CommandSourceStack source, Objective objective, @Nullable NumberFormat numberFormat) private static intScoreboardCommand.setScoreNumberFormat(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, @Nullable NumberFormat numberFormat) -
Uses of NumberFormat in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as NumberFormatModifier and TypeFieldDescriptionprivate @Nullable NumberFormatObjective.numberFormatprivate @Nullable NumberFormatScore.numberFormatprivate final @Nullable NumberFormatPlayerScoreEntry.numberFormatOverrideThe field for thenumberFormatOverriderecord component.Fields in net.minecraft.world.scores with type parameters of type NumberFormatModifier and TypeFieldDescriptionprivate final Optional<NumberFormat> Objective.Packed.numberFormatThe field for thenumberFormatrecord component.private final Optional<NumberFormat> Score.Packed.numberFormatThe field for thenumberFormatrecord component.Methods in net.minecraft.world.scores that return NumberFormatModifier and TypeMethodDescription@Nullable NumberFormatObjective.numberFormat()@Nullable NumberFormatReadOnlyScoreInfo.numberFormat()@Nullable NumberFormatScore.numberFormat()Objective.numberFormatOrDefault(NumberFormat _default) @Nullable NumberFormatPlayerScoreEntry.numberFormatOverride()Returns the value of thenumberFormatOverriderecord component.Methods in net.minecraft.world.scores that return types with arguments of type NumberFormatModifier and TypeMethodDescriptionObjective.Packed.numberFormat()Returns the value of thenumberFormatrecord component.Score.Packed.numberFormat()Returns the value of thenumberFormatrecord component.Methods in net.minecraft.world.scores with parameters of type NumberFormatModifier and TypeMethodDescriptionScoreboard.addObjective(String name, ObjectiveCriteria criteria, Component displayName, ObjectiveCriteria.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) PlayerScoreEntry.formatValue(NumberFormat _default) default MutableComponentReadOnlyScoreInfo.formatValue(NumberFormat defaultFormat) voidScore.numberFormat(@Nullable NumberFormat numberFormat) Objective.numberFormatOrDefault(NumberFormat _default) voidScoreAccess.numberFormatOverride(@Nullable NumberFormat numberFormat) static MutableComponentReadOnlyScoreInfo.safeFormatValue(@Nullable ReadOnlyScoreInfo scoreInfo, NumberFormat defaultFormat) voidObjective.setNumberFormat(@Nullable NumberFormat numberFormat) Constructors in net.minecraft.world.scores with parameters of type NumberFormatModifierConstructorDescriptionObjective(Scoreboard scoreboard, String name, ObjectiveCriteria criteria, Component displayName, ObjectiveCriteria.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) PlayerScoreEntry(String owner, int value, @Nullable Component display, @Nullable NumberFormat numberFormatOverride) Creates an instance of aPlayerScoreEntryrecord class.Constructor parameters in net.minecraft.world.scores with type arguments of type NumberFormatModifierConstructorDescriptionPacked(String name, ObjectiveCriteria criteria, Component displayName, ObjectiveCriteria.RenderType renderType, boolean displayAutoUpdate, Optional<NumberFormat> numberFormat) Creates an instance of aPackedrecord class.