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 TypeMethodDescriptionOptionInstance.OptionInstanceSliderButton.getTooltip()
protected static List<FormattedCharSequence>
OptionInstance.splitTooltip
(Minecraft p_231502_, Component p_231503_) Modifier and TypeMethodDescriptionStringSplitter.componentStyleAtWidth
(FormattedCharSequence p_92339_, int p_92340_) StringSplitter.findSpans
(FormattedCharSequence p_242390_, Predicate<Style> p_242453_) 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 TypeMethodDescriptionint
Font.draw
(PoseStack p_92878_, FormattedCharSequence p_92879_, float p_92880_, float p_92881_, int p_92882_) static void
GuiComponent.drawCenteredString
(PoseStack p_168750_, Font p_168751_, FormattedCharSequence p_168752_, int p_168753_, int p_168754_, int p_168755_) int
Font.drawInBatch
(FormattedCharSequence p_92734_, float p_92735_, float p_92736_, int p_92737_, boolean p_92738_, Matrix4f p_92739_, MultiBufferSource p_92740_, boolean p_92741_, int p_92742_, int p_92743_) void
Font.drawInBatch8xOutline
(FormattedCharSequence p_168646_, float p_168647_, float p_168648_, int p_168649_, int p_168650_, Matrix4f p_168651_, MultiBufferSource p_168652_, int p_168653_) private int
Font.drawInternal
(FormattedCharSequence p_92867_, float p_92868_, float p_92869_, int p_92870_, boolean p_92871_, Matrix4f p_92872_, MultiBufferSource p_92873_, boolean p_92874_, int p_92875_, int p_92876_) private int
Font.drawInternal
(FormattedCharSequence p_92727_, float p_92728_, float p_92729_, int p_92730_, Matrix4f p_92731_, boolean p_92732_) int
Font.drawShadow
(PoseStack p_92745_, FormattedCharSequence p_92746_, float p_92747_, float p_92748_, int p_92749_) static void
GuiComponent.drawString
(PoseStack p_168757_, Font p_168758_, FormattedCharSequence p_168759_, int p_168760_, int p_168761_, int p_168762_) private float
Font.renderText
(FormattedCharSequence p_92927_, float p_92928_, float p_92929_, int p_92930_, boolean p_92931_, Matrix4f p_92932_, MultiBufferSource p_92933_, boolean p_92934_, int p_92935_, int p_92936_) int
Font.width
(FormattedCharSequence p_92725_) -
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 final List<FormattedCharSequence>
CommandSuggestions.commandUsage
private BiFunction<String,
Integer, FormattedCharSequence> EditBox.formatter
Modifier and TypeMethodDescriptionprivate 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 TypeMethodDescriptionCycleButton.getTooltip()
TooltipAccessor.getTooltip()
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.SystemToastIds p_94827_, Component p_94828_, List<FormattedCharSequence> p_94829_, int p_94830_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionprivate List<FormattedCharSequence>
ChatScreen.splitChatPreview
(Component p_242266_) static List<FormattedCharSequence>
OptionsSubScreen.tooltipAt
(OptionsList p_96288_, int p_96289_, int p_96290_) Modifier and TypeMethodDescriptionprivate void
ChatScreen.renderChatPreviewHighlights
(PoseStack p_242454_, FormattedCharSequence p_242367_, int p_242163_, int p_242358_) Modifier and TypeMethodDescriptionprivate int
ChatScreen.chatPreviewHeight
(List<FormattedCharSequence> p_232714_) void
Screen.renderTooltip
(PoseStack p_96618_, List<? extends FormattedCharSequence> p_96619_, int p_96620_, int p_96621_) void
Screen.renderTooltip
(PoseStack poseStack, List<? extends FormattedCharSequence> lines, int x, int y, Font font) -
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
private List<FormattedCharSequence>
ChatSelectionScreen.tooltip
Modifier and TypeMethodDescription(package private) void
ChatSelectionScreen.setTooltip
(List<FormattedCharSequence> p_239306_) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens.social
Modifier and TypeFieldDescription(package private) final List<FormattedCharSequence>
PlayerEntry.hideTooltip
(package private) List<FormattedCharSequence>
PlayerEntry.reportTooltip
(package private) final List<FormattedCharSequence>
PlayerEntry.showTooltip
Modifier and TypeMethodDescription(package private) static void
PlayerEntry.postRenderTooltip
(SocialInteractionsScreen p_100589_, PoseStack p_100590_, List<FormattedCharSequence> p_100591_, int p_100592_, int p_100593_) -
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
private List<FormattedCharSequence>
EditGameRulesScreen.tooltip
private List<FormattedCharSequence>
SelectWorldScreen.toolTip
Modifier and TypeMethodDescriptionEditGameRulesScreen.EntryFactory.create
(Component p_101155_, List<FormattedCharSequence> p_101156_, String p_101157_, T p_101158_) (package private) void
EditGameRulesScreen.setTooltip
(List<FormattedCharSequence> p_101082_) void
SelectWorldScreen.setToolTip
(List<FormattedCharSequence> p_101364_) 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.level.block.entity
Modifier and TypeMethodDescriptionSignBlockEntity.getRenderMessages
(boolean p_155718_, Function<Component, FormattedCharSequence> p_155719_) Modifier and TypeMethodDescriptionSignBlockEntity.getRenderMessages
(boolean p_155718_, Function<Component, FormattedCharSequence> p_155719_) -
Uses of FormattedCharSequence in net.minecraftforge.client.gui
Modifier and TypeFieldDescriptionprivate List<FormattedCharSequence>
ModListScreen.InfoPanel.lines
private final List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence,
org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>>> ModMismatchDisconnectedScreen.MismatchInfoPanel.lineTable
private final List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence,
org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>>> ModMismatchDisconnectedScreen.MismatchInfoPanel.lineTable
private final List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence,
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,
org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth
(MutableComponent name, org.apache.commons.lang3.tuple.Pair<String, String> versions) Splits the raw name and version strings, making them use multiple lines if needed, to fit within the table dimensions.private List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence,
org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth
(MutableComponent name, org.apache.commons.lang3.tuple.Pair<String, String> versions) Splits the raw name and version strings, making them use multiple lines if needed, to fit within the table dimensions.private List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence,
org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth
(MutableComponent name, org.apache.commons.lang3.tuple.Pair<String, String> versions) Splits the raw name and version strings, making them use multiple lines if needed, to fit within the table dimensions.