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.CODECstatic final com.mojang.serialization.Codec<ChatFormatting> ChatFormatting.COLOR_CODECprivate static final Map<String, ChatFormatting> ChatFormatting.FORMATTING_BY_NAMEMethods in net.minecraft that return ChatFormattingModifier and TypeMethodDescriptionstatic ChatFormattingChatFormatting.getByCode(char pFormattingCode) static ChatFormattingChatFormatting.getById(int pIndex) Get a TextFormatting from its color indexstatic ChatFormattingGets a value by its friendly name null if the given name does not map to a defined value.static 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 ChatFormatting -
Uses of ChatFormatting in net.minecraft.client
Methods in net.minecraft.client with parameters of type ChatFormattingModifier and TypeMethodDescriptionprivate voidKeyboardHandler.debugComponent(ChatFormatting pFormatting, Component pMessage) -
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 pChatFormatting) -
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> pContext, String pName) ColorArgument.parse(com.mojang.brigadier.StringReader pReader) -
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 pServerLevel, ChatFormatting pFormatting, String pMessage) -
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 pFormatting) Style.applyFormats(ChatFormatting... pFormats) Style.applyLegacyFormat(ChatFormatting pFormatting) static TextColorTextColor.fromLegacyFormat(ChatFormatting pFormatting) Style.withColor(ChatFormatting pFormatting) MutableComponent.withStyle(ChatFormatting pFormat) MutableComponent.withStyle(ChatFormatting... pFormats) -
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 pSource, PlayerTeam pTeam, ChatFormatting pValue) -
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.entity.ai.attributes
Methods in net.minecraft.world.entity.ai.attributes that return 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 ChatFormattingConstructors 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 ChatFormattingFields in net.minecraft.world.scores with type parameters of type ChatFormattingModifier and TypeFieldDescriptionprivate final Optional<ChatFormatting> PlayerTeam.Packed.colorThe field for thecolorrecord component.Methods in net.minecraft.world.scores that return ChatFormattingMethods in net.minecraft.world.scores that return types with arguments of type ChatFormattingModifier and TypeMethodDescriptionPlayerTeam.Packed.color()Returns the value of thecolorrecord component.Methods in net.minecraft.world.scores with parameters of type ChatFormattingModifier and TypeMethodDescriptionvoidPlayerTeam.setColor(ChatFormatting pColor) Sets the color for this team.static DisplaySlotDisplaySlot.teamColorToSlot(ChatFormatting pFormatting) -
Uses of ChatFormatting in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as ChatFormattingModifier and TypeFieldDescriptionprivate static final ChatFormattingConfigurationScreen.FILENAME_TOOLTIP_STYLEprivate static final ChatFormattingConfigurationScreen.RANGE_TOOLTIP_STYLEMethods in net.neoforged.neoforge.client.gui with parameters of type ChatFormattingModifier and TypeMethodDescriptionConfigurationScreen.TranslationChecker.optional(Component prefix, String translationKey, ChatFormatting... style) If the given translation key exists, returns it formatted with the given style(s) and as prefixed with the given component.private 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) private static ComponentDataComponentCommand.print(DataComponentType<?> type, Object data, ChatFormatting color, Component tooltip)
Rarity.getStyleModifier()