Uses of Enum Class
net.minecraft.util.Formatting
Packages that use Formatting
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Formatting in net.minecraft.advancement
Fields in net.minecraft.advancement declared as FormattingMethods in net.minecraft.advancement that return FormattingConstructors in net.minecraft.advancement with parameters of type Formatting -
Uses of Formatting in net.minecraft.client
Methods in net.minecraft.client with parameters of type FormattingModifier and TypeMethodDescriptionprivate voidKeyboard.addDebugMessage(Formatting formatting, Text text) -
Uses of Formatting in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type FormattingModifier and TypeMethodDescriptionprivate booleanChatInputSuggestor.showUsages(Formatting formatting) -
Uses of Formatting in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return FormattingModifier and TypeMethodDescriptionstatic FormattingColorArgumentType.getColor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) ColorArgumentType.parse(com.mojang.brigadier.StringReader stringReader) -
Uses of Formatting in net.minecraft.entity.attribute
Methods in net.minecraft.entity.attribute that return FormattingModifier and TypeMethodDescriptionEntityAttribute.Category.getFormatting(boolean addition) EntityAttribute.getFormatting(boolean addition) -
Uses of Formatting in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as FormattingMethods in net.minecraft.entity.boss that return FormattingConstructors in net.minecraft.entity.boss with parameters of type Formatting -
Uses of Formatting in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as FormattingMethods in net.minecraft.entity.effect that return FormattingConstructors in net.minecraft.entity.effect with parameters of type Formatting -
Uses of Formatting in net.minecraft.item
Fields in net.minecraft.item declared as FormattingModifier and TypeFieldDescriptionprivate static final FormattingSmithingTemplateItem.DESCRIPTION_FORMATTINGprivate static final FormattingSmithingTemplateItem.TITLE_FORMATTING -
Uses of Formatting in net.minecraft.nbt.visitor
Fields in net.minecraft.nbt.visitor declared as FormattingModifier and TypeFieldDescriptionprivate static final FormattingNbtTextFormatter.NAME_COLORprivate static final FormattingNbtTextFormatter.NUMBER_COLORprivate static final FormattingNbtTextFormatter.STRING_COLORprivate static final FormattingNbtTextFormatter.TYPE_SUFFIX_COLOR -
Uses of Formatting in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as FormattingMethods in net.minecraft.network.packet.s2c.play that return Formatting -
Uses of Formatting in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as FormattingMethods in net.minecraft.scoreboard that return FormattingMethods in net.minecraft.scoreboard with parameters of type FormattingModifier and TypeMethodDescriptionstatic @Nullable ScoreboardDisplaySlotScoreboardDisplaySlot.fromFormatting(Formatting formatting) voidTeam.setColor(Formatting color) -
Uses of Formatting in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type FormattingModifier and TypeMethodDescriptionprivate static intTeamCommand.executeModifyColor(ServerCommandSource source, Team team, Formatting color) (package private) static voidTestCommand.sendMessage(ServerWorld world, String message, Formatting formatting) -
Uses of Formatting in net.minecraft.test
Methods in net.minecraft.test with parameters of type FormattingModifier and TypeMethodDescriptionprotected static voidStructureTestListener.sendMessageToAllPlayers(ServerWorld world, Formatting formatting, String message) -
Uses of Formatting in net.minecraft.text
Fields in net.minecraft.text with type parameters of type FormattingModifier and TypeFieldDescriptionprivate static final Map<Formatting, TextColor> TextColor.FORMATTING_TO_COLORMethods in net.minecraft.text with parameters of type FormattingModifier and TypeMethodDescriptionMutableText.formatted(Formatting formatting) Add a formatting to this text's style.MutableText.formatted(Formatting[] formattings) Adds some formattings to this text's style.TextColor.fromFormatting(Formatting formatting) Obtains a text color from a formatting.Style.withColor(@Nullable Formatting color) Returns a new style with the color provided and all other attributes of this style.Style.withExclusiveFormatting(Formatting formatting) Returns a new style with the formatting provided and some applicable attributes of this style.Style.withFormatting(Formatting formatting) Returns a new style with the formatting provided and all other attributes of this style.Style.withFormatting(Formatting[] formattings) Returns a new style with the formattings provided and all other attributes of this style. -
Uses of Formatting in net.minecraft.util
Fields in net.minecraft.util declared as FormattingFields in net.minecraft.util with type parameters of type FormattingModifier and TypeFieldDescriptionprivate static final Map<String, Formatting> Formatting.BY_NAMEstatic final com.mojang.serialization.Codec<Formatting> Formatting.CODECMethods in net.minecraft.util that return FormattingModifier and TypeMethodDescriptionstatic @Nullable FormattingFormatting.byCode(char code) Returns the formatting with the codecode, ornullif there is none.static @Nullable FormattingFormatting.byColorIndex(int colorIndex) Returns the formatting with the color indexcolorIndex, ornullif there is none.static @Nullable FormattingReturns the formatting with the namename, ornullif there is none.Rarity.getFormatting()static FormattingReturns the enum constant of this class with the specified name.static Formatting[]Formatting.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.util with parameters of type Formatting