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 intFont.PreparedTextBuilder.getTextColor(@Nullable TextColor textColor) -
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 @Nullable TextColorTextColor.fromLegacyFormat(ChatFormatting format) static TextColorTextColor.fromRgb(int rgb) @Nullable TextColorStyle.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 color) 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> color, Optional<Integer> shadowColor, Optional<Boolean> bold, Optional<Boolean> italic, Optional<Boolean> underlined, Optional<Boolean> strikethrough, Optional<Boolean> obfuscated, Optional<ClickEvent> clickEvent, Optional<HoverEvent> hoverEvent, Optional<String> insertion, Optional<FontDescription> font) Constructors in net.minecraft.network.chat with parameters of type TextColorModifierConstructorDescriptionprivateStyle(@Nullable TextColor color, @Nullable Integer shadowColor, @Nullable Boolean bold, @Nullable Boolean italic, @Nullable Boolean underlined, @Nullable Boolean strikethrough, @Nullable Boolean obfuscated, @Nullable ClickEvent clickEvent, @Nullable HoverEvent hoverEvent, @Nullable String insertion, @Nullable FontDescription font) -
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.