Uses of Enum Class
net.minecraft.util.text.TextFormatting
Package
Description
-
Uses of TextFormatting in net.minecraft.advancements
ModifierConstructorDescriptionprivate
FrameType
(String p_i47585_3_, int p_i47585_4_, TextFormatting p_i47585_5_) -
Uses of TextFormatting in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate void
CommandSuggestionHelper.fillNodeUsage
(TextFormatting p_228120_1_) -
Uses of TextFormatting in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic TextFormatting
ColorArgument.getColor
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197064_0_, String p_197064_1_) ColorArgument.parse
(com.mojang.brigadier.StringReader p_parse_1_) -
Uses of TextFormatting in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static int
TeamCommand.setColor
(CommandSource p_198757_0_, ScorePlayerTeam p_198757_1_, TextFormatting p_198757_2_) -
Uses of TextFormatting in net.minecraft.item
Modifier and TypeMethodDescriptionstatic Rarity
Rarity.create
(String name, TextFormatting p_i48837_3_) -
Uses of TextFormatting in net.minecraft.nbt
Modifier and TypeFieldDescriptionstatic final TextFormatting
static final TextFormatting
static final TextFormatting
static final TextFormatting
-
Uses of TextFormatting in net.minecraft.network.play.server
-
Uses of TextFormatting in net.minecraft.potion
-
Uses of TextFormatting in net.minecraft.scoreboard
Modifier and TypeMethodDescriptionScorePlayerTeam.getColor()
abstract TextFormatting
Team.getColor()
-
Uses of TextFormatting in net.minecraft.test
Modifier and TypeMethodDescriptionprivate static void
TestCommand.say
(ServerWorld p_229624_0_, String p_229624_1_, TextFormatting p_229624_2_) private static void
TestUtils.say
(ServerWorld p_229556_0_, TextFormatting p_229556_1_, String p_229556_2_) -
Uses of TextFormatting in net.minecraft.util.text
Modifier and TypeFieldDescriptionprivate static final Map<String,
TextFormatting> TextFormatting.FORMATTING_BY_NAME
private static final Map<TextFormatting,
Color> Color.LEGACY_FORMAT_TO_COLOR
Modifier and TypeMethodDescriptionstatic TextFormatting
TextFormatting.getByCode
(char p_211165_0_) static TextFormatting
TextFormatting.getById
(int p_175744_0_) static TextFormatting
static TextFormatting
Returns the enum constant of this class with the specified name.static TextFormatting[]
TextFormatting.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionStyle.applyFormat
(TextFormatting p_240721_1_) Style.applyFormats
(TextFormatting... p_240720_1_) Style.applyLegacyFormat
(TextFormatting p_240723_1_) static Color
Color.fromLegacyFormat
(TextFormatting p_240744_0_) Style.withColor
(TextFormatting p_240712_1_) default IFormattableTextComponent
IFormattableTextComponent.withStyle
(TextFormatting p_240699_1_) default IFormattableTextComponent
IFormattableTextComponent.withStyle
(TextFormatting... p_240701_1_) -
Uses of TextFormatting in net.minecraft.world