Uses of Class
net.minecraft.util.text.Style
Package
Description
-
Uses of Style in net.minecraft.client.gui
Modifier and TypeFieldDescriptionprivate static final Style
CommandSuggestionHelper.LITERAL_STYLE
private static final Style
CommandSuggestionHelper.UNPARSED_STYLE
Modifier and TypeMethodDescriptionNewChatGui.getClickedComponentStyleAt
(double p_238494_1_, double p_238494_3_) -
Uses of Style in net.minecraft.client.gui.screen
Modifier and TypeMethodDescriptionprivate Style
DeathScreen.getClickedComponentStyleAt
(int p_238623_1_) ReadBookScreen.getClickedComponentStyleAt
(double p_238805_1_, double p_238805_3_) Modifier and TypeMethodDescriptionboolean
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_) -
Uses of Style in net.minecraft.client.util
ModifierConstructorDescriptionprivate
BidiReorder
(String p_i242079_1_, List<Style> p_i242079_2_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_i242079_3_) -
Uses of Style in net.minecraft.command.impl
-
Uses of Style in net.minecraft.item
-
Uses of Style in net.minecraft.scoreboard
-
Uses of Style in net.minecraft.util
Modifier and TypeMethodDescriptionboolean
static IReorderingProcessor
IReorderingProcessor.backward
(String p_242246_0_, Style p_242246_1_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_242246_2_) static IReorderingProcessor
static IReorderingProcessor
-
Uses of Style in net.minecraft.util.text
Modifier and TypeFieldDescriptionstatic final Style
Style.EMPTY
private Style
CharacterManager.MultilineProcessor.lastSpaceStyle
private Style
CharacterManager.MultilineProcessor.lineBreakStyle
private final Style
CharacterManager.StyleOverridingTextComponent.style
private Style
TextComponent.style
Modifier and TypeMethodDescriptionStyle.applyFormat
(TextFormatting p_240721_1_) Style.applyFormats
(TextFormatting... p_240720_1_) Style.applyLegacyFormat
(TextFormatting p_240723_1_) CharacterManager.componentStyleAtWidth
(IReorderingProcessor p_243239_1_, int p_243239_2_) CharacterManager.componentStyleAtWidth
(ITextProperties p_238357_1_, int p_238357_2_) Style.Serializer.deserialize
(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) CharacterManager.MultilineProcessor.getSplitStyle()
ITextComponent.getStyle()
TextComponent.getStyle()
private static Style
TextComponentUtils.resolveStyle
(CommandSource p_240646_0_, Style p_240646_1_, Entity p_240646_2_, int p_240646_3_) Style.setObfuscated
(Boolean obfuscated) Style.setStrikethrough
(Boolean strikethrough) Style.setUnderlined
(Boolean underlined) Style.withClickEvent
(ClickEvent p_240715_1_) Style.withColor
(TextFormatting p_240712_1_) Style.withFont
(ResourceLocation p_240719_1_) Style.withHoverEvent
(HoverEvent p_240716_1_) Style.withInsertion
(String p_240714_1_) Style.withItalic
(Boolean p_240722_1_) Style.withUnderlined
(Boolean p_244282_1_) Modifier and TypeMethodDescriptionvoid
boolean
boolean
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.headByWidth
(ITextProperties p_238358_1_, int p_238358_2_, Style p_238358_3_) static boolean
TextProcessing.iterate
(String p_238341_0_, Style p_238341_1_, ICharacterConsumer p_238341_2_) static boolean
TextProcessing.iterateBackwards
(String p_238345_0_, Style p_238345_1_, ICharacterConsumer p_238345_2_) static boolean
TextProcessing.iterateFormatted
(String p_238339_0_, int p_238339_1_, Style p_238339_2_, ICharacterConsumer p_238339_3_) static boolean
TextProcessing.iterateFormatted
(String p_238340_0_, int p_238340_1_, Style p_238340_2_, Style p_238340_3_, ICharacterConsumer p_238340_4_) static boolean
TextProcessing.iterateFormatted
(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
CharacterManager.plainHeadByWidth
(String p_238361_1_, int p_238361_2_, Style p_238361_3_) int
CharacterManager.plainIndexAtWidth
(String p_238352_1_, int p_238352_2_, Style p_238352_3_) CharacterManager.plainTailByWidth
(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_, 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_) CharacterManager.splitLines
(String p_238365_1_, int p_238365_2_, Style p_238365_3_) void
CharacterManager.splitLines
(String p_238353_1_, int p_238353_2_, Style p_238353_3_, boolean p_238353_4_, CharacterManager.ISliceAcceptor p_238353_5_) 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_, BiConsumer<ITextProperties, Boolean> p_243242_4_) <T> Optional<T>
CharacterManager.StyleOverridingTextComponent.visit
(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_) default <T> Optional<T>
ITextComponent.visit
(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_) <T> Optional<T>
ITextProperties.visit
(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_) default <T> Optional<T>
ITextComponent.visitSelf
(ITextProperties.IStyledTextAcceptor<T> p_230534_1_, Style p_230534_2_) <T> Optional<T>
KeybindTextComponent.visitSelf
(ITextProperties.IStyledTextAcceptor<T> p_230534_1_, Style p_230534_2_) <T> Optional<T>
TranslationTextComponent.visitSelf
(ITextProperties.IStyledTextAcceptor<T> p_230534_1_, Style p_230534_2_) default IFormattableTextComponent
Modifier and TypeMethodDescriptiondefault IFormattableTextComponent
IFormattableTextComponent.withStyle
(UnaryOperator<Style> p_240700_1_) ModifierConstructorDescriptionStyleOverridingTextComponent
(String p_i232247_1_, Style p_i232247_2_) -
Uses of Style in net.minecraftforge.fml.client.gui.screen
Modifier and TypeMethodDescriptionprivate Style
ModListScreen.InfoPanel.findTextLine
(int mouseX, int mouseY)