Uses of Enum Class
net.minecraft.ChatFormatting
Packages that use ChatFormatting
Package
Description
-
Uses of ChatFormatting in net.minecraft
Fields in net.minecraft with type parameters of type ChatFormattingModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ChatFormatting>
ChatFormatting.CODEC
private static final Map<String,
ChatFormatting> ChatFormatting.FORMATTING_BY_NAME
Methods in net.minecraft that return ChatFormattingModifier 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
Fields in net.minecraft.advancements declared as ChatFormattingMethods in net.minecraft.advancements that return ChatFormattingConstructors in net.minecraft.advancements with parameters of type ChatFormattingModifierConstructorDescriptionprivate
AdvancementType
(String p_309637_, ChatFormatting p_312188_) -
Uses of ChatFormatting in net.minecraft.client
Methods in net.minecraft.client with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate void
KeyboardHandler.debugComponent
(ChatFormatting p_167825_, Component p_167826_) -
Uses of ChatFormatting in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate boolean
CommandSuggestions.fillNodeUsage
(ChatFormatting p_289002_) -
Uses of ChatFormatting in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return ChatFormattingModifier 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
Methods in net.minecraft.gametest.framework with parameters of type ChatFormattingModifier and TypeMethodDescriptionprotected static void
ReportGameListener.say
(ServerLevel p_177701_, ChatFormatting p_177702_, String p_177703_) private static void
TestCommand.say
(ServerLevel p_127934_, String p_127935_, ChatFormatting p_127936_) -
Uses of ChatFormatting in net.minecraft.nbt
Fields in net.minecraft.nbt declared as ChatFormattingModifier 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
Fields in net.minecraft.network.chat with type parameters of type ChatFormattingModifier and TypeFieldDescriptionprivate static final Map<ChatFormatting,
TextColor> TextColor.LEGACY_FORMAT_TO_COLOR
Methods in net.minecraft.network.chat with parameters of type ChatFormattingModifier 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
Fields in net.minecraft.network.protocol.game declared as ChatFormattingModifier and TypeFieldDescriptionprivate final ChatFormatting
ClientboundSetPlayerTeamPacket.Parameters.color
Methods in net.minecraft.network.protocol.game that return ChatFormatting -
Uses of ChatFormatting in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate static int
TeamCommand.setColor
(CommandSourceStack p_138899_, PlayerTeam p_138900_, ChatFormatting p_138901_) -
Uses of ChatFormatting in net.minecraft.world
Fields in net.minecraft.world declared as ChatFormattingMethods in net.minecraft.world that return ChatFormattingConstructors in net.minecraft.world with parameters of type ChatFormatting -
Uses of ChatFormatting in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as ChatFormattingModifier and TypeFieldDescriptionprivate final ChatFormatting
MobEffectCategory.tooltipFormatting
Methods in net.minecraft.world.effect that return ChatFormattingConstructors in net.minecraft.world.effect with parameters of type ChatFormatting -
Uses of ChatFormatting in net.minecraft.world.item
Fields in net.minecraft.world.item declared as ChatFormattingModifier and TypeFieldDescriptionfinal ChatFormatting
Rarity.color
Deprecated.private static final ChatFormatting
SmithingTemplateItem.DESCRIPTION_FORMAT
private static final ChatFormatting
SmithingTemplateItem.TITLE_FORMAT
Methods in net.minecraft.world.item with parameters of type ChatFormattingModifier and TypeMethodDescriptionstatic Rarity
Rarity.create
(String name, ChatFormatting p_43028_) Constructors in net.minecraft.world.item with parameters of type ChatFormatting -
Uses of ChatFormatting in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as ChatFormattingMethods in net.minecraft.world.scores that return ChatFormattingMethods in net.minecraft.world.scores with parameters of type ChatFormattingModifier and TypeMethodDescriptionvoid
PlayerTeam.setColor
(ChatFormatting p_83352_) static DisplaySlot
DisplaySlot.teamColorToSlot
(ChatFormatting p_298500_) -
Uses of ChatFormatting in net.minecraftforge.server.command
Methods in net.minecraftforge.server.command with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate static MutableComponent
TagsCommand.createMessage
(MutableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names)
Rarity.getStyleModifier()