Uses of Class
net.minecraft.util.text.Style
-
-
Uses of Style in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as Style Modifier and Type Field Description private static Style
CommandSuggestionHelper. LITERAL_STYLE
private static Style
CommandSuggestionHelper. UNPARSED_STYLE
Fields in net.minecraft.client.gui with type parameters of type Style Modifier and Type Field Description private static java.util.List<Style>
CommandSuggestionHelper. ARGUMENT_STYLES
Methods in net.minecraft.client.gui that return Style Modifier and Type Method Description Style
NewChatGui. getClickedComponentStyleAt(double p_238494_1_, double p_238494_3_)
Methods in net.minecraft.client.gui with parameters of type Style Modifier and Type Method Description boolean
FontRenderer.CharacterRenderer. accept(int p_accept_1_, Style p_accept_2_, int p_accept_3_)
-
Uses of Style in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Style Modifier and Type Field Description private Style
EditBookScreen.BookLine. style
Methods in net.minecraft.client.gui.screen that return Style Modifier and Type Method Description private Style
DeathScreen. getClickedComponentStyleAt(int p_238623_1_)
Style
ReadBookScreen. getClickedComponentStyleAt(double p_238805_1_, double p_238805_3_)
Methods in net.minecraft.client.gui.screen with parameters of type Style Modifier and Type Method Description boolean
ReadBookScreen. handleComponentClicked(Style p_230455_1_)
boolean
Screen. handleComponentClicked(Style p_230455_1_)
protected void
Screen. renderComponentHoverEffect(MatrixStack p_238653_1_, Style p_238653_2_, int p_238653_3_, int p_238653_4_)
Constructors in net.minecraft.client.gui.screen with parameters of type Style Constructor Description BookLine(Style p_i232289_1_, java.lang.String p_i232289_2_, int p_i232289_3_, int p_i232289_4_)
-
Uses of Style in net.minecraft.client.util
Fields in net.minecraft.client.util with type parameters of type Style Modifier and Type Field Description private java.util.List<Style>
BidiReorder. charStyles
Constructor parameters in net.minecraft.client.util with type arguments of type Style Constructor Description BidiReorder(java.lang.String p_i242079_1_, java.util.List<Style> p_i242079_2_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_i242079_3_)
-
Uses of Style in net.minecraft.command.impl
Fields in net.minecraft.command.impl declared as Style Modifier and Type Field Description private static Style
TeamMsgCommand. SUGGEST_STYLE
-
Uses of Style in net.minecraft.item
Fields in net.minecraft.item declared as Style Modifier and Type Field Description private static Style
ItemStack. LORE_STYLE
-
Uses of Style in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as Style Modifier and Type Field Description private Style
ScorePlayerTeam. displayNameStyle
-
Uses of Style in net.minecraft.util
Fields in net.minecraft.util declared as Style Modifier and Type Field Description private static Style
EnchantmentNameParts. ROOT_STYLE
Methods in net.minecraft.util with parameters of type Style Modifier and Type Method Description boolean
ICharacterConsumer. accept(int p_accept_1_, Style p_accept_2_, int p_accept_3_)
static IReorderingProcessor
IReorderingProcessor. backward(java.lang.String p_242246_0_, Style p_242246_1_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_242246_2_)
static IReorderingProcessor
IReorderingProcessor. codepoint(int p_242233_0_, Style p_242233_1_)
static IReorderingProcessor
IReorderingProcessor. forward(java.lang.String p_242239_0_, Style p_242239_1_)
-
Uses of Style in net.minecraft.util.text
Fields in net.minecraft.util.text declared as Style Modifier and Type Field Description static Style
Style. EMPTY
private Style
CharacterManager.MultilineProcessor. lastSpaceStyle
private Style
CharacterManager.MultilineProcessor. lineBreakStyle
private Style
CharacterManager.StyleOverridingTextComponent. style
private Style
TextComponent. style
Methods in net.minecraft.util.text that return Style Modifier and Type Method Description Style
Style. applyFormat(TextFormatting p_240721_1_)
Style
Style. applyFormats(TextFormatting... p_240720_1_)
Style
Style. applyLegacyFormat(TextFormatting p_240723_1_)
Style
Style. applyTo(Style p_240717_1_)
Style
CharacterManager. componentStyleAtWidth(IReorderingProcessor p_243239_1_, int p_243239_2_)
Style
CharacterManager. componentStyleAtWidth(ITextProperties p_238357_1_, int p_238357_2_)
Style
Style.Serializer. deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
Style
CharacterManager.MultilineProcessor. getSplitStyle()
Style
ITextComponent. getStyle()
Style
TextComponent. getStyle()
private static Style
TextComponentUtils. resolveStyle(CommandSource p_240646_0_, Style p_240646_1_, Entity p_240646_2_, int p_240646_3_)
Style
Style. setObfuscated(java.lang.Boolean obfuscated)
Style
Style. setStrikethrough(java.lang.Boolean strikethrough)
Style
Style. setUnderlined(java.lang.Boolean underlined)
Style
Style. withBold(java.lang.Boolean p_240713_1_)
Style
Style. withClickEvent(ClickEvent p_240715_1_)
Style
Style. withColor(Color p_240718_1_)
Style
Style. withColor(TextFormatting p_240712_1_)
Style
Style. withFont(ResourceLocation p_240719_1_)
Style
Style. withHoverEvent(HoverEvent p_240716_1_)
Style
Style. withInsertion(java.lang.String p_240714_1_)
Style
Style. withItalic(java.lang.Boolean p_240722_1_)
Style
Style. withUnderlined(java.lang.Boolean p_244282_1_)
Methods in net.minecraft.util.text with parameters of type Style Modifier and Type Method Description void
CharacterManager.ISliceAcceptor. accept(Style p_accept_1_, int p_accept_2_, int p_accept_3_)
boolean
CharacterManager.MultilineProcessor. accept(int p_accept_1_, Style p_accept_2_, int p_accept_3_)
boolean
CharacterManager.StringWidthProcessor. accept(int p_accept_1_, Style p_accept_2_, int p_accept_3_)
java.util.Optional<T>
ITextProperties.IStyledTextAcceptor. accept(Style p_accept_1_, java.lang.String p_accept_2_)
Style
Style. applyTo(Style p_240717_1_)
private static boolean
TextProcessing. feedChar(Style p_238344_0_, ICharacterConsumer p_238344_1_, int p_238344_2_, char p_238344_3_)
private boolean
CharacterManager.MultilineProcessor. finishIteration(int p_238388_1_, Style p_238388_2_)
float
CharacterManager.ICharWidthProvider. getWidth(int p_getWidth_1_, Style p_getWidth_2_)
ITextProperties
CharacterManager. headByWidth(ITextProperties p_238358_1_, int p_238358_2_, Style p_238358_3_)
static boolean
TextProcessing. iterate(java.lang.String p_238341_0_, Style p_238341_1_, ICharacterConsumer p_238341_2_)
static boolean
TextProcessing. iterateBackwards(java.lang.String p_238345_0_, Style p_238345_1_, ICharacterConsumer p_238345_2_)
static boolean
TextProcessing. iterateFormatted(java.lang.String p_238339_0_, int p_238339_1_, Style p_238339_2_, ICharacterConsumer p_238339_3_)
static boolean
TextProcessing. iterateFormatted(java.lang.String p_238340_0_, int p_238340_1_, Style p_238340_2_, Style p_238340_3_, ICharacterConsumer p_238340_4_)
static boolean
TextProcessing. iterateFormatted(java.lang.String p_238346_0_, Style p_238346_1_, ICharacterConsumer p_238346_2_)
static boolean
TextProcessing. iterateFormatted(ITextProperties p_238343_0_, Style p_238343_1_, ICharacterConsumer p_238343_2_)
static IFormattableTextComponent
TextComponentUtils. mergeStyles(IFormattableTextComponent p_240648_0_, Style p_240648_1_)
static ITextProperties
ITextProperties. of(java.lang.String p_240653_0_, Style p_240653_1_)
java.lang.String
CharacterManager. plainHeadByWidth(java.lang.String p_238361_1_, int p_238361_2_, Style p_238361_3_)
int
CharacterManager. plainIndexAtWidth(java.lang.String p_238352_1_, int p_238352_2_, Style p_238352_3_)
java.lang.String
CharacterManager. plainTailByWidth(java.lang.String p_238364_1_, int p_238364_2_, Style p_238364_3_)
private static Style
TextComponentUtils. resolveStyle(CommandSource p_240646_0_, Style p_240646_1_, Entity p_240646_2_, int p_240646_3_)
com.google.gson.JsonElement
Style.Serializer. serialize(Style p_serialize_1_, java.lang.reflect.Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)
private void
ITextComponent.Serializer. serializeStyle(Style p_150695_1_, com.google.gson.JsonObject p_150695_2_, com.google.gson.JsonSerializationContext p_150695_3_)
IFormattableTextComponent
IFormattableTextComponent. setStyle(Style p_230530_1_)
IFormattableTextComponent
TextComponent. setStyle(Style p_230530_1_)
ITextProperties
CharacterManager.SubstyledText. splitAt(int p_238373_1_, int p_238373_2_, Style p_238373_3_)
java.util.List<ITextProperties>
CharacterManager. splitLines(java.lang.String p_238365_1_, int p_238365_2_, Style p_238365_3_)
void
CharacterManager. splitLines(java.lang.String p_238353_1_, int p_238353_2_, Style p_238353_3_, boolean p_238353_4_, CharacterManager.ISliceAcceptor p_238353_5_)
java.util.List<ITextProperties>
CharacterManager. splitLines(ITextProperties p_238362_1_, int p_238362_2_, Style p_238362_3_)
void
CharacterManager. splitLines(ITextProperties p_243242_1_, int p_243242_2_, Style p_243242_3_, java.util.function.BiConsumer<ITextProperties,java.lang.Boolean> p_243242_4_)
<T> java.util.Optional<T>
CharacterManager.StyleOverridingTextComponent. visit(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_)
default <T> java.util.Optional<T>
ITextComponent. visit(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_)
<T> java.util.Optional<T>
ITextProperties. visit(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_)
default <T> java.util.Optional<T>
ITextComponent. visitSelf(ITextProperties.IStyledTextAcceptor<T> p_230534_1_, Style p_230534_2_)
<T> java.util.Optional<T>
KeybindTextComponent. visitSelf(ITextProperties.IStyledTextAcceptor<T> p_230534_1_, Style p_230534_2_)
<T> java.util.Optional<T>
TranslationTextComponent. visitSelf(ITextProperties.IStyledTextAcceptor<T> p_230534_1_, Style p_230534_2_)
default IFormattableTextComponent
IFormattableTextComponent. withStyle(Style p_240703_1_)
Method parameters in net.minecraft.util.text with type arguments of type Style Modifier and Type Method Description default IFormattableTextComponent
IFormattableTextComponent. withStyle(java.util.function.UnaryOperator<Style> p_240700_1_)
Constructors in net.minecraft.util.text with parameters of type Style Constructor Description StyleOverridingTextComponent(java.lang.String p_i232247_1_, Style p_i232247_2_)
-
Uses of Style in net.minecraftforge.fml.client.gui.screen
Methods in net.minecraftforge.fml.client.gui.screen that return Style Modifier and Type Method Description private Style
ModListScreen.InfoPanel. findTextLine(int mouseX, int mouseY)
-