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.CODECprivate static final Map<String, ChatFormatting> ChatFormatting.FORMATTING_BY_NAMEMethods in net.minecraft that return ChatFormattingModifier and TypeMethodDescriptionstatic ChatFormattingChatFormatting.getByCode(char p_126646_) static ChatFormattingChatFormatting.getById(int p_126648_) static ChatFormattingstatic ChatFormattingReturns 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 ChatFormattingModifierConstructorDescriptionprivateAdvancementType(String p_312210_, ChatFormatting p_312089_) -
Uses of ChatFormatting in net.minecraft.client
Methods in net.minecraft.client with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate voidKeyboardHandler.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 booleanCommandSuggestions.fillNodeUsage(ChatFormatting p_289002_) -
Uses of ChatFormatting in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return ChatFormattingModifier and TypeMethodDescriptionstatic ChatFormattingColorArgument.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 voidReportGameListener.say(ServerLevel p_177701_, ChatFormatting p_177702_, String p_177703_) (package private) static voidTestCommand.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 ChatFormattingTextComponentTagVisitor.SYNTAX_HIGHLIGHTING_KEYprivate static final ChatFormattingTextComponentTagVisitor.SYNTAX_HIGHLIGHTING_NUMBERprivate static final ChatFormattingTextComponentTagVisitor.SYNTAX_HIGHLIGHTING_NUMBER_TYPEprivate static final ChatFormattingTextComponentTagVisitor.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_COLORMethods 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 TextColorTextColor.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 ChatFormattingClientboundSetPlayerTeamPacket.Parameters.colorMethods 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 intTeamCommand.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 ChatFormattingMobEffectCategory.tooltipFormattingMethods 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 TypeFieldDescriptionprivate final ChatFormattingRarity.colorprivate static final ChatFormattingSmithingTemplateItem.DESCRIPTION_FORMATprivate static final ChatFormattingSmithingTemplateItem.TITLE_FORMATMethods in net.minecraft.world.item that return ChatFormattingMethods in net.minecraft.world.item with parameters of type ChatFormattingModifier and TypeMethodDescriptionstatic RarityRarity.create(String name, ResourceLocation serializedName, ChatFormatting color) Constructors in net.minecraft.world.item with parameters of type ChatFormattingModifierConstructorDescriptionprivateRarity(int p_336096_, String p_335642_, ChatFormatting p_43028_) privateRarity(ResourceLocation serializedName, ChatFormatting color) -
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 TypeMethodDescriptionvoidPlayerTeam.setColor(ChatFormatting p_83352_) static DisplaySlotDisplaySlot.teamColorToSlot(ChatFormatting p_296133_) -
Uses of ChatFormatting in net.neoforged.neoforge.client.gui
Methods in net.neoforged.neoforge.client.gui with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate MutableComponentModMismatchDisconnectedScreen.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
Methods in net.neoforged.neoforge.server.command with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate static MutableComponentTagsCommand.createMessage(MutableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names)
Rarity.getStyleModifier()