Uses of Interface
net.minecraft.util.FormattedCharSequence
Package
Description
-
Uses of FormattedCharSequence in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final FormattedCharSequence
GuiMessage.Line.content
The field for thecontent
record component.Modifier and TypeMethodDescriptionGuiMessage.Line.content()
Returns the value of thecontent
record component.Modifier and TypeMethodDescriptionStringSplitter.componentStyleAtWidth
(FormattedCharSequence p_92339_, int p_92340_) float
StringSplitter.stringWidth
(FormattedCharSequence p_92337_) ModifierConstructorDescriptionLine
(int addedTime, FormattedCharSequence content, GuiMessageTag tag, boolean endOfEntry) Creates an instance of aLine
record class. -
Uses of FormattedCharSequence in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
GuiGraphics.drawCenteredString
(Font p_282592_, FormattedCharSequence p_281854_, int p_281573_, int p_283511_, int p_282577_) int
Font.drawInBatch
(FormattedCharSequence p_273262_, float p_273006_, float p_273254_, int p_273375_, boolean p_273674_, org.joml.Matrix4f p_273525_, MultiBufferSource p_272624_, Font.DisplayMode p_273418_, int p_273330_, int p_272981_) 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_) private int
Font.drawInternal
(FormattedCharSequence p_273025_, float p_273121_, float p_272717_, int p_273653_, boolean p_273531_, org.joml.Matrix4f p_273265_, MultiBufferSource p_273560_, Font.DisplayMode p_273342_, int p_273373_, int p_273266_) int
GuiGraphics.drawString
(Font p_282636_, FormattedCharSequence p_281596_, float p_281586_, float p_282816_, int p_281743_, boolean p_282394_) int
GuiGraphics.drawString
(Font p_283019_, FormattedCharSequence p_283376_, int p_283379_, int p_283346_, int p_282119_) int
GuiGraphics.drawString
(Font p_282636_, FormattedCharSequence p_281596_, int p_281586_, int p_282816_, int p_281743_, boolean p_282394_) private float
Font.renderText
(FormattedCharSequence p_273322_, float p_272632_, float p_273541_, int p_273200_, boolean p_273312_, org.joml.Matrix4f p_273276_, MultiBufferSource p_273392_, Font.DisplayMode p_272625_, int p_273774_, int p_273371_) int
Font.width
(FormattedCharSequence p_92725_) Modifier and TypeMethodDescriptionvoid
GuiGraphics.renderTooltip
(Font p_282192_, List<? extends FormattedCharSequence> p_282297_, int p_281680_, int p_283325_) void
GuiGraphics.renderTooltip
(Font p_281627_, List<FormattedCharSequence> p_283313_, ClientTooltipPositioner p_283571_, int p_282367_, int p_282806_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate static final FormattedCharSequence
ComponentRenderUtils.INDENT
(package private) final FormattedCharSequence
MultiLineLabel.TextWithWidth.text
Modifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> Tooltip.cachedTooltip
private final List
<FormattedCharSequence> CommandSuggestions.commandUsage
private BiFunction
<String, Integer, FormattedCharSequence> EditBox.formatter
Modifier and TypeMethodDescriptionprivate FormattedCharSequence
private FormattedCharSequence
CommandSuggestions.formatChat
(String p_93915_, int p_93916_) private static FormattedCharSequence
CommandSuggestions.formatText
(com.mojang.brigadier.ParseResults<SharedSuggestionProvider> p_93893_, String p_93894_, int p_93895_) private static FormattedCharSequence
CommandSuggestions.getExceptionMessage
(com.mojang.brigadier.exceptions.CommandSyntaxException p_93897_) Modifier and TypeMethodDescriptionstatic List
<FormattedCharSequence> Tooltip.splitTooltip
(Minecraft p_259133_, Component p_260172_) Tooltip.toCharSequence
(Minecraft p_260243_) static List
<FormattedCharSequence> ComponentRenderUtils.wrapComponents
(FormattedText p_94006_, int p_94007_, Font p_94008_) Modifier and TypeMethodDescriptionvoid
EditBox.setFormatter
(BiFunction<String, Integer, FormattedCharSequence> p_94150_) ModifierConstructorDescription(package private)
TextWithWidth
(FormattedCharSequence p_94430_, int p_94431_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.components.toasts
Modifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList
<FormattedCharSequence> SystemToast.nullToEmpty
(Component p_94861_) ModifierConstructorDescriptionprivate
SystemToast
(SystemToast.SystemToastId p_314467_, Component p_94828_, List<FormattedCharSequence> p_94829_, int p_94830_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> WinScreen.lines
private final List
<FormattedCharSequence> Screen.DeferredTooltipRendering.tooltip
The field for thetooltip
record component.Modifier and TypeMethodDescriptionScreen.DeferredTooltipRendering.tooltip()
Returns the value of thetooltip
record component.Modifier and TypeMethodDescriptionvoid
Screen.setTooltipForNextRenderPass
(List<FormattedCharSequence> p_259937_) void
Screen.setTooltipForNextRenderPass
(List<FormattedCharSequence> p_262939_, ClientTooltipPositioner p_263078_, boolean p_263107_) ModifierConstructorDescription(package private)
DeferredTooltipRendering
(List<FormattedCharSequence> tooltip, ClientTooltipPositioner positioner) Creates an instance of aDeferredTooltipRendering
record class. -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.advancements
Modifier and TypeFieldDescriptionprivate final List
<FormattedCharSequence> AdvancementWidget.description
-
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate static final FormattedCharSequence
BookEditScreen.BLACK_CURSOR
private static final FormattedCharSequence
BookEditScreen.GRAY_CURSOR
Modifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> BookViewScreen.cachedPageComponents
-
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.inventory.tooltip
Modifier and TypeMethodDescriptionstatic ClientTooltipComponent
ClientTooltipComponent.create
(FormattedCharSequence p_169949_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.packs
Modifier and TypeFieldDescriptionprivate final FormattedCharSequence
TransferableSelectionList.PackEntry.incompatibleNameDisplayCache
private final FormattedCharSequence
TransferableSelectionList.PackEntry.nameDisplayCache
-
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.reporting
Modifier 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
Modifier and TypeFieldDescriptionprivate final List
<FormattedCharSequence> EditGameRulesScreen.GameRuleEntry.label
(package private) final List
<FormattedCharSequence> EditGameRulesScreen.RuleEntry.tooltip
Modifier and TypeMethodDescriptionEditGameRulesScreen.EntryFactory.create
(Component p_101155_, List<FormattedCharSequence> p_101156_, String p_101157_, T p_101158_) ModifierConstructorDescriptionBooleanRuleEntry
(Component p_101101_, List<FormattedCharSequence> p_101102_, String p_101103_, GameRules.BooleanValue p_101104_) GameRuleEntry
(List<FormattedCharSequence> p_101164_, Component p_101165_) IntegerRuleEntry
(Component p_101175_, List<FormattedCharSequence> p_101176_, String p_101177_, GameRules.IntegerValue p_101178_) RuleEntry
(List<FormattedCharSequence> p_194062_) -
Uses of FormattedCharSequence in net.minecraft.client.resources.language
Modifier and TypeMethodDescriptionClientLanguage.getVisualOrder
(FormattedText p_118925_) static FormattedCharSequence
FormattedBidiReorder.reorder
(FormattedText p_118932_, boolean p_118933_) -
Uses of FormattedCharSequence in net.minecraft.locale
Modifier and TypeMethodDescriptionabstract FormattedCharSequence
Language.getVisualOrder
(FormattedText p_128116_) -
Uses of FormattedCharSequence in net.minecraft.network.chat
Modifier and TypeMethodDescriptionComponent.getVisualOrderText()
MutableComponent.getVisualOrderText()
Modifier and TypeMethodDescriptionSubStringSource.substring
(int p_131237_, int p_131238_, boolean p_131239_) -
Uses of FormattedCharSequence in net.minecraft.util
Modifier and TypeMethodDescriptionstatic FormattedCharSequence
static FormattedCharSequence
FormattedCharSequence.backward
(String p_13741_, Style p_13742_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_13743_) static FormattedCharSequence
static FormattedCharSequence
FormattedCharSequence.composite()
static FormattedCharSequence
FormattedCharSequence.composite
(List<FormattedCharSequence> p_13723_) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence p_144712_) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence... p_144722_) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence p_13697_, FormattedCharSequence p_13698_) static FormattedCharSequence
static FormattedCharSequence
FormattedCharSequence.forward
(String p_144718_, Style p_144719_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_144720_) static FormattedCharSequence
FormattedCharSequence.fromList
(List<FormattedCharSequence> p_13745_) static FormattedCharSequence
FormattedCharSequence.fromPair
(FormattedCharSequence p_13734_, FormattedCharSequence p_13735_) Modifier and TypeMethodDescriptionstatic FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence p_144712_) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence... p_144722_) static FormattedCharSequence
FormattedCharSequence.composite
(FormattedCharSequence p_13697_, FormattedCharSequence p_13698_) static FormattedCharSequence
FormattedCharSequence.fromPair
(FormattedCharSequence p_13734_, FormattedCharSequence p_13735_) Modifier and TypeMethodDescriptionstatic FormattedCharSequence
FormattedCharSequence.composite
(List<FormattedCharSequence> p_13723_) static FormattedCharSequence
FormattedCharSequence.fromList
(List<FormattedCharSequence> p_13745_) -
Uses of FormattedCharSequence in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate final FormattedCharSequence
Display.TextDisplay.CachedLine.contents
The field for thecontents
record component.Modifier and TypeMethodDescriptionDisplay.TextDisplay.CachedLine.contents()
Returns the value of thecontents
record component.ModifierConstructorDescriptionCachedLine
(FormattedCharSequence contents, int width) Creates an instance of aCachedLine
record class. -
Uses of FormattedCharSequence in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionSignText.getRenderMessages
(boolean p_277336_, Function<Component, FormattedCharSequence> p_277538_) Modifier and TypeMethodDescriptionSignText.getRenderMessages
(boolean p_277336_, Function<Component, FormattedCharSequence> p_277538_) -
Uses of FormattedCharSequence in net.neoforged.neoforge.client.gui
Modifier 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
Modifier 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.