Uses of Interface
net.minecraft.util.FormattedCharSequence
Packages that use FormattedCharSequence
Package
Description
-
Uses of FormattedCharSequence in net.minecraft.client
Fields in net.minecraft.client declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate final FormattedCharSequence
GuiMessage.Line.content
The field for thecontent
record component.Methods in net.minecraft.client that return FormattedCharSequenceModifier and TypeMethodDescriptionGuiMessage.Line.content()
Returns the value of thecontent
record component.Methods in net.minecraft.client with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionStringSplitter.componentStyleAtWidth
(FormattedCharSequence pContent, int pMaxWidth) float
StringSplitter.stringWidth
(FormattedCharSequence pContent) Constructors in net.minecraft.client with parameters of type FormattedCharSequenceModifierConstructorDescriptionLine
(int addedTime, FormattedCharSequence content, GuiMessageTag tag, boolean endOfEntry) Creates an instance of aLine
record class. -
Uses of FormattedCharSequence in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return types with arguments of type FormattedCharSequenceMethods in net.minecraft.client.gui with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionvoid
GuiGraphics.drawCenteredString
(Font pFont, FormattedCharSequence pText, int pX, int pY, int pColor) Draws a centered string at the specified coordinates using the given font, formatted character sequence, and color.void
Font.drawInBatch
(FormattedCharSequence p_416545_, float p_272811_, float p_272610_, int p_273422_, boolean p_273016_, org.joml.Matrix4f p_273443_, MultiBufferSource p_273387_, Font.DisplayMode p_273551_, int p_272706_, int p_273114_) void
Font.drawInBatch8xOutline
(FormattedCharSequence p_168646_, float p_168647_, float p_168648_, int p_168649_, int p_168650_, org.joml.Matrix4f p_254170_, MultiBufferSource p_168652_, int p_168653_) void
GuiGraphics.drawString
(Font pFont, FormattedCharSequence pText, int pX, int pY, int pColor) void
GuiGraphics.drawString
(Font pFont, FormattedCharSequence pText, int pX, int pY, int pColor, boolean pDrawShadow) Font.prepareText
(FormattedCharSequence pText, float pX, float pY, int pColor, boolean pDropShadow, int pBackgroundColor) int
Font.width
(FormattedCharSequence pText) Method parameters in net.minecraft.client.gui with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionvoid
GuiGraphics.setTooltipForNextFrame
(List<FormattedCharSequence> pLines, int pX, int pY) void
GuiGraphics.setTooltipForNextFrame
(Font pFont, List<? extends FormattedCharSequence> pLines, int pX, int pY) void
GuiGraphics.setTooltipForNextFrame
(Font pFont, List<? extends FormattedCharSequence> pLines, int pX, int pY, ResourceLocation pBackground) void
GuiGraphics.setTooltipForNextFrame
(Font pFont, List<FormattedCharSequence> pLines, ClientTooltipPositioner pPositioner, int pX, int pY, boolean pFocused) -
Uses of FormattedCharSequence in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate static final FormattedCharSequence
ComponentRenderUtils.INDENT
private final FormattedCharSequence
MultiLineLabel.TextAndWidth.text
The field for thetext
record component.Fields in net.minecraft.client.gui.components with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> Tooltip.cachedTooltip
private final List
<FormattedCharSequence> CommandSuggestions.commandUsage
private BiFunction
<String, Integer, FormattedCharSequence> EditBox.formatter
Methods in net.minecraft.client.gui.components that return FormattedCharSequenceModifier and TypeMethodDescriptionprivate FormattedCharSequence
private FormattedCharSequence
CommandSuggestions.formatChat
(String p_93915_, int p_93916_) private static FormattedCharSequence
CommandSuggestions.formatText
(com.mojang.brigadier.ParseResults<ClientSuggestionProvider> p_93893_, String p_93894_, int p_93895_) private static FormattedCharSequence
CommandSuggestions.getExceptionMessage
(com.mojang.brigadier.exceptions.CommandSyntaxException p_93897_) MultiLineLabel.TextAndWidth.text()
Returns the value of thetext
record component.Methods in net.minecraft.client.gui.components that return types with arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionstatic List
<FormattedCharSequence> Tooltip.splitTooltip
(Minecraft pMinecraft, Component pMessage) Tooltip.toCharSequence
(Minecraft pMinecraft) static List
<FormattedCharSequence> ComponentRenderUtils.wrapComponents
(FormattedText pComponent, int pMaxWidth, Font pFont) Method parameters in net.minecraft.client.gui.components with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionvoid
EditBox.setFormatter
(BiFunction<String, Integer, FormattedCharSequence> pTextFormatter) Constructors in net.minecraft.client.gui.components with parameters of type FormattedCharSequenceModifierConstructorDescriptionTextAndWidth
(FormattedCharSequence text, int width) Creates an instance of aTextAndWidth
record class. -
Uses of FormattedCharSequence in net.minecraft.client.gui.components.toasts
Fields in net.minecraft.client.gui.components.toasts with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate final List
<FormattedCharSequence> TutorialToast.lines
private List
<FormattedCharSequence> SystemToast.messageLines
Methods in net.minecraft.client.gui.components.toasts that return types with arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList
<FormattedCharSequence> SystemToast.nullToEmpty
(Component p_94861_) Constructor parameters in net.minecraft.client.gui.components.toasts with type arguments of type FormattedCharSequenceModifierConstructorDescriptionprivate
SystemToast
(SystemToast.SystemToastId pId, Component pTitle, List<FormattedCharSequence> pMessageLines, int pWidth) -
Uses of FormattedCharSequence in net.minecraft.client.gui.render.state
Fields in net.minecraft.client.gui.render.state declared as FormattedCharSequenceConstructors in net.minecraft.client.gui.render.state with parameters of type FormattedCharSequenceModifierConstructorDescriptionGuiTextRenderState
(Font p_426159_, FormattedCharSequence p_425925_, org.joml.Matrix3x2f p_415973_, int p_416612_, int p_416232_, int p_425576_, int p_426044_, boolean p_426039_, ScreenRectangle p_416431_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens with type parameters of type FormattedCharSequence -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.advancements
Fields in net.minecraft.client.gui.screens.advancements with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate final List
<FormattedCharSequence> AdvancementWidget.description
private final List
<FormattedCharSequence> AdvancementWidget.titleLines
Method parameters in net.minecraft.client.gui.screens.advancements with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionprivate void
AdvancementWidget.drawMultilineText
(GuiGraphics pGuiGraphics, List<FormattedCharSequence> pText, int pX, int pY, int pColor) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> BookViewScreen.cachedPageComponents
Holds a copy of the page text, split into page width lines -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.inventory.tooltip
Fields in net.minecraft.client.gui.screens.inventory.tooltip declared as FormattedCharSequenceMethods in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionstatic ClientTooltipComponent
ClientTooltipComponent.create
(FormattedCharSequence pText) Constructors in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type FormattedCharSequence -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.packs
Fields in net.minecraft.client.gui.screens.packs declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate final FormattedCharSequence
TransferableSelectionList.PackEntry.incompatibleNameDisplayCache
private final FormattedCharSequence
TransferableSelectionList.PackEntry.nameDisplayCache
Methods in net.minecraft.client.gui.screens.packs that return FormattedCharSequence -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.reporting
Fields in net.minecraft.client.gui.screens.reporting with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate final List
<FormattedCharSequence> ChatSelectionScreen.ChatSelectionList.MessageEntry.hoverText
private final List
<FormattedCharSequence> ChatSelectionScreen.ChatSelectionList.MessageEntry.tagHoverText
-
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate final List
<FormattedCharSequence> EditGameRulesScreen.GameRuleEntry.label
(package private) final List
<FormattedCharSequence> EditGameRulesScreen.RuleEntry.tooltip
Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionEditGameRulesScreen.EntryFactory.create
(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, T pValue) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type FormattedCharSequenceModifierConstructorDescriptionBooleanRuleEntry
(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, GameRules.BooleanValue pValue) GameRuleEntry
(List<FormattedCharSequence> pTooltip, Component pLabel) IntegerRuleEntry
(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, GameRules.IntegerValue pValue) RuleEntry
(List<FormattedCharSequence> pTooltip) -
Uses of FormattedCharSequence in net.minecraft.client.resources.language
Methods in net.minecraft.client.resources.language that return FormattedCharSequenceModifier and TypeMethodDescriptionClientLanguage.getVisualOrder
(FormattedText pText) static FormattedCharSequence
FormattedBidiReorder.reorder
(FormattedText pText, boolean pDefaultRightToLeft) -
Uses of FormattedCharSequence in net.minecraft.locale
Methods in net.minecraft.locale that return FormattedCharSequenceModifier and TypeMethodDescriptionabstract FormattedCharSequence
Language.getVisualOrder
(FormattedText p_128116_) Methods in net.minecraft.locale that return types with arguments of type FormattedCharSequence -
Uses of FormattedCharSequence in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as FormattedCharSequenceMethods in net.minecraft.network.chat that return FormattedCharSequenceModifier and TypeMethodDescriptionComponent.getVisualOrderText()
MutableComponent.getVisualOrderText()
Methods in net.minecraft.network.chat that return types with arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionSubStringSource.substring
(int pFromIndex, int pToIndex, boolean pReversed) -
Uses of FormattedCharSequence in net.minecraft.util
Fields in net.minecraft.util declared as FormattedCharSequenceMethods in net.minecraft.util that return FormattedCharSequenceModifier and TypeMethodDescriptionstatic FormattedCharSequence
static FormattedCharSequence
FormattedCharSequence.backward
(String pText, Style pStyle, it.unimi.dsi.fastutil.ints.Int2IntFunction p_13743_) static FormattedCharSequence
static FormattedCharSequence
FormattedCharSequence.composite()
static FormattedCharSequence
FormattedCharSequence.composite
(List<FormattedCharSequence> pParts) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence pSequence) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence... pParts) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence pFirst, FormattedCharSequence pSecond) static FormattedCharSequence
static FormattedCharSequence
FormattedCharSequence.forward
(String pText, Style pStyle, it.unimi.dsi.fastutil.ints.Int2IntFunction p_144720_) static FormattedCharSequence
FormattedCharSequence.fromList
(List<FormattedCharSequence> pParts) static FormattedCharSequence
FormattedCharSequence.fromPair
(FormattedCharSequence pFirst, FormattedCharSequence pSecond) Methods in net.minecraft.util with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionstatic FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence pSequence) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence... pParts) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence pFirst, FormattedCharSequence pSecond) static FormattedCharSequence
FormattedCharSequence.fromPair
(FormattedCharSequence pFirst, FormattedCharSequence pSecond) Method parameters in net.minecraft.util with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionstatic FormattedCharSequence
FormattedCharSequence.composite
(List<FormattedCharSequence> pParts) static FormattedCharSequence
FormattedCharSequence.fromList
(List<FormattedCharSequence> pParts) -
Uses of FormattedCharSequence in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate final FormattedCharSequence
Display.TextDisplay.CachedLine.contents
The field for thecontents
record component.Methods in net.minecraft.world.entity that return FormattedCharSequenceModifier and TypeMethodDescriptionDisplay.TextDisplay.CachedLine.contents()
Returns the value of thecontents
record component.Constructors in net.minecraft.world.entity with parameters of type FormattedCharSequenceModifierConstructorDescriptionCachedLine
(FormattedCharSequence contents, int width) Creates an instance of aCachedLine
record class. -
Uses of FormattedCharSequence in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as FormattedCharSequenceMethods in net.minecraft.world.level.block.entity that return FormattedCharSequenceModifier and TypeMethodDescriptionSignText.getRenderMessages
(boolean pRenderMessagesFiltered, Function<Component, FormattedCharSequence> pFormatter) Method parameters in net.minecraft.world.level.block.entity with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionSignText.getRenderMessages
(boolean pRenderMessagesFiltered, Function<Component, FormattedCharSequence> pFormatter) -
Uses of FormattedCharSequence in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> ModListScreen.InfoPanel.lines
private List
<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.lineTable
private List
<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.lineTable
Methods in net.neoforged.neoforge.client.gui that return types with arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionprivate List
<FormattedCharSequence> ModListScreen.InfoPanel.resizeContent
(List<String> lines) private List
<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth
(MutableComponent name, MutableComponent reason) Splits the raw channel namespace and mismatch reason strings, making them use multiple lines if needed, to fit within the table dimensions.private List
<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth
(MutableComponent name, MutableComponent reason) Splits the raw channel namespace and mismatch reason strings, making them use multiple lines if needed, to fit within the table dimensions.