Uses of Class
net.minecraft.network.chat.TextColor
Packages that use TextColor
Package
Description
-
Uses of TextColor in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type TextColorModifier and TypeMethodDescriptionprivate int
Font.PreparedTextBuilder.getTextColor
(TextColor pTextColor) -
Uses of TextColor in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as TextColorFields in net.minecraft.network.chat with type parameters of type TextColorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<TextColor> TextColor.CODEC
private static final Map
<ChatFormatting, TextColor> TextColor.LEGACY_FORMAT_TO_COLOR
TextColor.NAMED_COLORS
Methods in net.minecraft.network.chat that return TextColorModifier and TypeMethodDescriptionstatic TextColor
TextColor.fromLegacyFormat
(ChatFormatting pFormatting) static TextColor
TextColor.fromRgb
(int pColor) Style.getColor()
Methods in net.minecraft.network.chat that return types with arguments of type TextColorModifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult
<TextColor> TextColor.parseColor
(String p_131269_) Methods in net.minecraft.network.chat with parameters of type TextColorMethod parameters in net.minecraft.network.chat with type arguments of type TextColorModifier and TypeMethodDescriptionprivate static Style
Style.create
(Optional<TextColor> pColor, Optional<Integer> pShadowColor, Optional<Boolean> pBold, Optional<Boolean> pItalic, Optional<Boolean> pUnderlined, Optional<Boolean> pStrikethrough, Optional<Boolean> pObfuscated, Optional<ClickEvent> pClickEvent, Optional<HoverEvent> pHoverEvent, Optional<String> pInsertion, Optional<ResourceLocation> pFont) Constructors in net.minecraft.network.chat with parameters of type TextColorModifierConstructorDescriptionprivate
Style
(TextColor pColor, Integer pShadowColor, Boolean pBold, Boolean pItalic, Boolean pUnderlined, Boolean pStrikethrough, Boolean pObfuscated, ClickEvent pClickEvent, HoverEvent pHoverEvent, String pInsertion, ResourceLocation pFont) -
Uses of TextColor in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as TextColorModifier and TypeFieldDescriptionprotected static final TextColor
Attribute.MERGED_BLUE
protected static final TextColor
Attribute.MERGED_GRAY
protected static final TextColor
Attribute.MERGED_RED
Methods in net.minecraft.world.entity.ai.attributes that return TextColor -
Uses of TextColor in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return TextColorModifier and TypeMethodDescriptionIAttributeExtension.getMergedStyle
(boolean isPositive) Returns the color used by merged attribute modifiers.