Uses of Enum Class
net.minecraft.util.Formatting
Packages that use Formatting
Package
Description
-
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 FormattingModifierConstructorDescriptionprivate
AdvancementFrame
(String id, int texV, Formatting titleFormat) -
Uses of Formatting in net.minecraft.client
Methods in net.minecraft.client with parameters of type FormattingModifier and TypeMethodDescriptionprivate void
Keyboard.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 void
ChatInputSuggestor.showUsages
(Formatting formatting) -
Uses of Formatting in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return FormattingModifier and TypeMethodDescriptionstatic Formatting
ColorArgumentType.getColor
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) ColorArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
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.nbt.visitor
Fields in net.minecraft.nbt.visitor declared as FormattingModifier and TypeFieldDescriptionprivate static final Formatting
NbtTextFormatter.NAME_COLOR
private static final Formatting
NbtTextFormatter.NUMBER_COLOR
private static final Formatting
NbtTextFormatter.STRING_COLOR
private static final Formatting
NbtTextFormatter.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 Formatting -
Uses of Formatting in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type FormattingModifier and TypeMethodDescriptionprivate static int
TeamCommand.executeModifyColor
(ServerCommandSource source, Team team, Formatting color) private static void
TestCommand.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 void
StructureTestListener.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_COLOR
Methods 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_NAME
static final StringIdentifiable.Codec<Formatting>
Formatting.CODEC
Methods in net.minecraft.util that return FormattingModifier and TypeMethodDescriptionstatic @Nullable Formatting
Formatting.byCode
(char code) Returns the formatting with the codecode
, ornull
if there is none.static @Nullable Formatting
Formatting.byColorIndex
(int colorIndex) Returns the formatting with the color indexcolorIndex
, ornull
if there is none.static @Nullable Formatting
Returns the formatting with the namename
, ornull
if there is none.static Formatting
Returns 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