Uses of Interface
net.minecraft.scoreboard.number.NumberFormat
Packages that use NumberFormat
Package
Description
-
Uses of NumberFormat in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as NumberFormatModifier and TypeFieldDescriptionprivate final @Nullable NumberFormatScoreboardObjectiveUpdateS2CPacket.numberFormatprivate final @Nullable NumberFormatScoreboardScoreUpdateS2CPacket.numberFormatThe field for thenumberFormatrecord component.Methods in net.minecraft.network.packet.s2c.play that return NumberFormatModifier and TypeMethodDescriptionScoreboardObjectiveUpdateS2CPacket.getNumberFormat()ScoreboardScoreUpdateS2CPacket.numberFormat()Returns the value of thenumberFormatrecord component.Constructors in net.minecraft.network.packet.s2c.play with parameters of type NumberFormatModifierConstructorDescriptionScoreboardScoreUpdateS2CPacket(String string, String string2, int int2, @Nullable Text text, @Nullable NumberFormat numberFormat) -
Uses of NumberFormat in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as NumberFormatModifier and TypeFieldDescriptionprivate @Nullable NumberFormatScoreboardObjective.numberFormatprivate @Nullable NumberFormatScoreboardScore.numberFormatprivate final @Nullable NumberFormatScoreboardEntry.numberFormatOverrideThe field for thenumberFormatOverriderecord component.Methods in net.minecraft.scoreboard that return NumberFormatModifier and TypeMethodDescriptionReadableScoreboardScore.getNumberFormat()ScoreboardObjective.getNumberFormat()ScoreboardScore.getNumberFormat()ScoreboardObjective.getNumberFormatOr(NumberFormat format) ScoreboardEntry.numberFormatOverride()Returns the value of thenumberFormatOverriderecord component.Methods in net.minecraft.scoreboard with parameters of type NumberFormatModifier and TypeMethodDescriptionScoreboard.addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) ScoreboardEntry.formatted(NumberFormat format) static MutableTextReadableScoreboardScore.getFormattedScore(@Nullable ReadableScoreboardScore score, NumberFormat fallbackFormat) default MutableTextReadableScoreboardScore.getFormattedScore(NumberFormat fallbackFormat) ScoreboardObjective.getNumberFormatOr(NumberFormat format) voidScoreAccess.setNumberFormat(@Nullable NumberFormat numberFormat) voidScoreboardObjective.setNumberFormat(@Nullable NumberFormat numberFormat) voidScoreboardScore.setNumberFormat(@Nullable NumberFormat numberFormat) Constructors in net.minecraft.scoreboard with parameters of type NumberFormatModifierConstructorDescriptionScoreboardEntry(String string, int int2, @Nullable Text text, @Nullable NumberFormat numberFormat) ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) -
Uses of NumberFormat in net.minecraft.scoreboard.number
Classes in net.minecraft.scoreboard.number with type parameters of type NumberFormatClasses in net.minecraft.scoreboard.number that implement NumberFormatModifier and TypeClassDescriptionclassclassclassFields in net.minecraft.scoreboard.number with type parameters of type NumberFormatModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NumberFormat>NumberFormatTypes.CODECstatic final com.mojang.serialization.MapCodec<NumberFormat>NumberFormatTypes.REGISTRY_CODECMethods in net.minecraft.scoreboard.number with type parameters of type NumberFormatModifier and TypeMethodDescriptionstatic <T extends NumberFormat>
voidNumberFormatTypes.toBuf(PacketByteBuf buf, T format) Methods in net.minecraft.scoreboard.number that return NumberFormatModifier and TypeMethodDescriptionstatic NumberFormatNumberFormatTypes.fromBuf(PacketByteBuf buf) Methods in net.minecraft.scoreboard.number that return types with arguments of type NumberFormatModifier and TypeMethodDescriptionNumberFormatType<? extends NumberFormat>NumberFormat.getType() -
Uses of NumberFormat in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type NumberFormatModifier and TypeMethodDescriptionprivate static intScoreboardCommand.executeModifyObjectiveFormat(ServerCommandSource source, ScoreboardObjective objective, @Nullable NumberFormat format) private static intScoreboardCommand.executeSetNumberFormat(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable NumberFormat numberFormat) intScoreboardCommand.NumberFormatCommandExecutor.run(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, @Nullable NumberFormat numberFormat)