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 TextColorModifier and TypeFieldDescriptionstatic final TextColorTextColor.AQUAstatic final TextColorTextColor.BLACKstatic final TextColorTextColor.BLUEStyle.colorstatic final TextColorTextColor.DARK_AQUAstatic final TextColorTextColor.DARK_BLUEstatic final TextColorTextColor.DARK_GRAYstatic final TextColorTextColor.DARK_GREENstatic final TextColorTextColor.DARK_PURPLEstatic final TextColorTextColor.DARK_REDstatic final TextColorTextColor.GOLDstatic final TextColorTextColor.GRAYstatic final TextColorTextColor.GREENstatic final TextColorTextColor.LIGHT_PURPLEstatic final TextColorTextColor.REDstatic final TextColorTextColor.WHITEstatic final TextColorTextColor.YELLOWFields in net.minecraft.network.chat with type parameters of type TextColorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TextColor> TextColor.CODECTextColor.NAMED_COLORSMethods in net.minecraft.network.chat that return TextColorModifier and TypeMethodDescriptionTextColor.fromLegacyFormat(ChatFormatting format) static TextColorTextColor.fromRgb(int rgb) Style.getColor()private static TextColorMethods 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 TextColorModifier and TypeMethodDescriptionMethod 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.minecraft.world.scores
Fields in net.minecraft.world.scores declared as TextColorMethods in net.minecraft.world.scores that return TextColorConstructors in net.minecraft.world.scores with parameters of type TextColorModifierConstructorDescriptionprivateTeamColor(int id, String name, TextColor format, DisplaySlot displaySlot) -
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.