Uses of Class
net.minecraft.network.chat.TextColor
Packages that use TextColor
Package
Description
-
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.CODECprivate static final Map<ChatFormatting, TextColor> TextColor.LEGACY_FORMAT_TO_COLORTextColor.NAMED_COLORSMethods in net.minecraft.network.chat that return TextColorModifier and TypeMethodDescriptionstatic TextColorTextColor.fromLegacyFormat(ChatFormatting pFormatting) static TextColorTextColor.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 StyleStyle.create(Optional<TextColor> pColor, 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 TextColorModifierConstructorDescriptionprivateStyle(TextColor pColor, 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 TextColorAttribute.MERGED_BLUEprotected static final TextColorAttribute.MERGED_GRAYprotected static final TextColorAttribute.MERGED_REDMethods 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.