Uses of Enum Class
net.minecraft.ChatFormatting
Package
Description
-
Uses of ChatFormatting in net.minecraft
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ChatFormatting> ChatFormatting.CODEC
private static final Map
<String, ChatFormatting> ChatFormatting.FORMATTING_BY_NAME
Modifier and TypeMethodDescriptionstatic ChatFormatting
ChatFormatting.getByCode
(char p_126646_) static ChatFormatting
ChatFormatting.getById
(int p_126648_) static ChatFormatting
static ChatFormatting
Returns the enum constant of this class with the specified name.static ChatFormatting[]
ChatFormatting.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ChatFormatting in net.minecraft.advancements
ModifierConstructorDescriptionprivate
AdvancementType
(String p_312210_, ChatFormatting p_312089_) -
Uses of ChatFormatting in net.minecraft.client
Modifier and TypeMethodDescriptionprivate void
KeyboardHandler.debugComponent
(ChatFormatting p_167825_, Component p_167826_) -
Uses of ChatFormatting in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionprivate boolean
CommandSuggestions.fillNodeUsage
(ChatFormatting p_289002_) -
Uses of ChatFormatting in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic ChatFormatting
ColorArgument.getColor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_85467_, String p_85468_) ColorArgument.parse
(com.mojang.brigadier.StringReader p_85465_) -
Uses of ChatFormatting in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionprotected static void
ReportGameListener.say
(ServerLevel p_177701_, ChatFormatting p_177702_, String p_177703_) (package private) static void
TestCommand.say
(ServerLevel p_127934_, String p_127935_, ChatFormatting p_127936_) -
Uses of ChatFormatting in net.minecraft.nbt
Modifier and TypeFieldDescriptionprivate static final ChatFormatting
TextComponentTagVisitor.SYNTAX_HIGHLIGHTING_KEY
private static final ChatFormatting
TextComponentTagVisitor.SYNTAX_HIGHLIGHTING_NUMBER
private static final ChatFormatting
TextComponentTagVisitor.SYNTAX_HIGHLIGHTING_NUMBER_TYPE
private static final ChatFormatting
TextComponentTagVisitor.SYNTAX_HIGHLIGHTING_STRING
-
Uses of ChatFormatting in net.minecraft.network.chat
Modifier and TypeFieldDescriptionprivate static final Map
<ChatFormatting, TextColor> TextColor.LEGACY_FORMAT_TO_COLOR
Modifier and TypeMethodDescriptionStyle.applyFormat
(ChatFormatting p_131158_) Style.applyFormats
(ChatFormatting... p_131153_) Style.applyLegacyFormat
(ChatFormatting p_131165_) static TextColor
TextColor.fromLegacyFormat
(ChatFormatting p_131271_) Style.withColor
(ChatFormatting p_131141_) MutableComponent.withStyle
(ChatFormatting p_130941_) MutableComponent.withStyle
(ChatFormatting... p_130945_) -
Uses of ChatFormatting in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final ChatFormatting
ClientboundSetPlayerTeamPacket.Parameters.color
-
Uses of ChatFormatting in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
TeamCommand.setColor
(CommandSourceStack p_138899_, PlayerTeam p_138900_, ChatFormatting p_138901_) -
Uses of ChatFormatting in net.minecraft.world
-
Uses of ChatFormatting in net.minecraft.world.effect
Modifier and TypeFieldDescriptionprivate final ChatFormatting
MobEffectCategory.tooltipFormatting
-
Uses of ChatFormatting in net.minecraft.world.entity.ai.attributes
-
Uses of ChatFormatting in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final ChatFormatting
Rarity.color
private static final ChatFormatting
SmithingTemplateItem.DESCRIPTION_FORMAT
private static final ChatFormatting
SmithingTemplateItem.TITLE_FORMAT
ModifierConstructorDescriptionprivate
Rarity
(int p_336096_, String p_335642_, ChatFormatting p_43028_) -
Uses of ChatFormatting in net.minecraft.world.scores
Modifier and TypeMethodDescriptionvoid
PlayerTeam.setColor
(ChatFormatting p_83352_) static DisplaySlot
DisplaySlot.teamColorToSlot
(ChatFormatting p_296133_) -
Uses of ChatFormatting in net.neoforged.neoforge.client.gui
Modifier and TypeMethodDescriptionprivate MutableComponent
ModMismatchDisconnectedScreen.MismatchInfoPanel.toChannelComponent
(List<ResourceLocation> ids, ChatFormatting color) Formats the given list of channel ids to a component which, depending on the current display mode of the list, will list either the first or all channel ids. -
Uses of ChatFormatting in net.neoforged.neoforge.server.command
Modifier and TypeMethodDescriptionprivate static MutableComponent
TagsCommand.createMessage
(MutableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names)
Rarity.getStyleModifier()