Uses of Interface
net.minecraft.util.FormattedCharSequence
Packages that use FormattedCharSequence
Package
Description
-
Uses of FormattedCharSequence in net.minecraft.client
Methods in net.minecraft.client with parameters of type FormattedCharSequence -
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 TypeMethodDescriptiondefault voidActiveTextCollector.accept(int x, int y, FormattedCharSequence text) voidActiveTextCollector.accept(TextAlignment alignment, int anchorX, int y, ActiveTextCollector.Parameters parameters, FormattedCharSequence text) default voidActiveTextCollector.accept(TextAlignment alignment, int anchorX, int y, FormattedCharSequence text) voidActiveTextCollector.ClickableStyleFinder.accept(TextAlignment alignment, int anchorX, int y, ActiveTextCollector.Parameters parameters, FormattedCharSequence text) voidGuiGraphics.RenderingTextCollector.accept(TextAlignment alignment, int anchorX, int y, ActiveTextCollector.Parameters parameters, FormattedCharSequence text) intTextAlignment.calculateLeft(int anchor, Font font, FormattedCharSequence text) voidGuiGraphics.drawCenteredString(Font font, FormattedCharSequence text, int x, int y, int color) Draws a centered string at the specified coordinates using the given font, formatted character sequence, and color.voidFont.drawInBatch(FormattedCharSequence str, float x, float y, int color, boolean dropShadow, Matrix4f pose, MultiBufferSource bufferSource, Font.DisplayMode displayMode, int backgroundColor, int packedLightCoords) voidFont.drawInBatch8xOutline(FormattedCharSequence str, float x, float y, int color, int outlineColor, Matrix4f pose, MultiBufferSource bufferSource, int packedLightCoords) voidGuiGraphics.drawString(Font font, FormattedCharSequence str, int x, int y, int color) voidGuiGraphics.drawString(Font font, FormattedCharSequence str, int x, int y, int color, boolean dropShadow) Font.prepareText(FormattedCharSequence text, float x, float y, int originalColor, boolean drawShadow, boolean includeEmpty, int backgroundColor) intFont.width(FormattedCharSequence text) Method parameters in net.minecraft.client.gui with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionvoidGuiGraphics.setTooltipForNextFrame(List<FormattedCharSequence> formattedCharSequences, int x, int y) voidGuiGraphics.setTooltipForNextFrame(Font font, List<? extends FormattedCharSequence> lines, int xo, int yo) voidGuiGraphics.setTooltipForNextFrame(Font font, List<? extends FormattedCharSequence> lines, int xo, int yo, @Nullable Identifier style) voidGuiGraphics.setTooltipForNextFrame(Font font, List<FormattedCharSequence> tooltip, Optional<TooltipComponent> component, ClientTooltipPositioner positioner, int xo, int yo, boolean replaceExisting, @Nullable Identifier style) voidGuiGraphics.setTooltipForNextFrame(Font font, List<FormattedCharSequence> tooltip, ClientTooltipPositioner positioner, int xo, int yo, boolean replaceExisting) -
Uses of FormattedCharSequence in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate static final FormattedCharSequenceComponentRenderUtils.INDENTprivate final FormattedCharSequenceMultiLineLabel.TextAndWidth.textThe field for thetextrecord component.Fields in net.minecraft.client.gui.components with type parameters of type FormattedCharSequenceModifier and TypeFieldDescriptionprivate @Nullable List<FormattedCharSequence> Tooltip.cachedTooltipprivate final List<FormattedCharSequence> CommandSuggestions.commandUsageMethods in net.minecraft.client.gui.components that return FormattedCharSequenceModifier and TypeMethodDescriptionprivate FormattedCharSequenceEditBox.applyFormat(String text, int offset) static FormattedCharSequence@Nullable FormattedCharSequenceprivate @Nullable FormattedCharSequenceCommandSuggestions.formatChat(String text, int offset) private static FormattedCharSequenceCommandSuggestions.formatText(com.mojang.brigadier.ParseResults<ClientSuggestionProvider> currentParse, String text, int offset) private static FormattedCharSequenceCommandSuggestions.getExceptionMessage(com.mojang.brigadier.exceptions.CommandSyntaxException e) MultiLineLabel.TextAndWidth.text()Returns the value of thetextrecord component.Methods in net.minecraft.client.gui.components that return types with arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionprivate List<FormattedCharSequence> CommandSuggestions.fillNodeUsage(com.mojang.brigadier.context.SuggestionContext<ClientSuggestionProvider> suggestionContext, Style usageFormat) static List<FormattedCharSequence> Tooltip.splitTooltip(Minecraft minecraft, Component message) Tooltip.toCharSequence(Minecraft minecraft) static List<FormattedCharSequence> ComponentRenderUtils.wrapComponents(FormattedText message, int maxWidth, Font font) Methods in net.minecraft.client.gui.components with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionbooleanChatComponent.ChatGraphicsAccess.handleMessage(int textTop, float opacity, FormattedCharSequence message) booleanChatComponent.ClickableTextOnlyGraphicsAccess.handleMessage(int textTop, float opacity, FormattedCharSequence message) booleanChatComponent.DrawingBackgroundGraphicsAccess.handleMessage(int textTop, float opacity, FormattedCharSequence message) booleanChatComponent.DrawingFocusedGraphicsAccess.handleMessage(int textTop, float opacity, FormattedCharSequence message) Constructors in net.minecraft.client.gui.components with parameters of type FormattedCharSequenceModifierConstructorDescriptionTextAndWidth(FormattedCharSequence text, int width) Creates an instance of aTextAndWidthrecord 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.linesprivate List<FormattedCharSequence> SystemToast.messageLinesMethods in net.minecraft.client.gui.components.toasts that return types with arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionprivate static ImmutableList<FormattedCharSequence> SystemToast.nullToEmpty(@Nullable Component message) Constructor parameters in net.minecraft.client.gui.components.toasts with type arguments of type FormattedCharSequenceModifierConstructorDescriptionprivateSystemToast(SystemToast.SystemToastId id, Component title, List<FormattedCharSequence> messageLines, int width) -
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 font, FormattedCharSequence text, Matrix3x2fc pose, int x, int y, int color, int backgroundColor, boolean dropShadow, boolean includeEmpty, @Nullable ScreenRectangle scissor) -
Uses of FormattedCharSequence in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens with type parameters of type FormattedCharSequenceMethods in net.minecraft.client.gui.screens that return FormattedCharSequenceModifier and TypeMethodDescriptionprivate @Nullable FormattedCharSequenceChatScreen.formatChat(String text, int offset) -
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.descriptionprivate final List<FormattedCharSequence> AdvancementWidget.titleLinesMethod parameters in net.minecraft.client.gui.screens.advancements with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionprivate voidAdvancementWidget.drawMultilineText(GuiGraphics graphics, List<FormattedCharSequence> lines, int x, int y, int color) -
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.cachedPageComponentsHolds 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 ClientTooltipComponentClientTooltipComponent.create(FormattedCharSequence charSequence) Constructors in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type 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 @Nullable List<FormattedCharSequence> ChatSelectionScreen.ChatSelectionList.MessageEntry.hoverTextprivate final @Nullable 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> AbstractGameRulesScreen.GameRuleEntry.labelprivate final @Nullable List<FormattedCharSequence> AbstractGameRulesScreen.RuleEntry.tooltipMethod parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionAbstractGameRulesScreen.EntryFactory.create(Component name, List<FormattedCharSequence> tooltip, String narration, GameRule<T> gameRule) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type FormattedCharSequenceModifierConstructorDescriptionBooleanRuleEntry(Component name, List<FormattedCharSequence> tooltip, String narration, GameRule<Boolean> gameRule) GameRuleEntry(List<FormattedCharSequence> tooltip, Component label) IntegerRuleEntry(Component label, List<FormattedCharSequence> tooltip, String narration, GameRule<Integer> gameRule) RuleEntry(@Nullable List<FormattedCharSequence> tooltip) -
Uses of FormattedCharSequence in net.minecraft.client.multiplayer.chat
Fields in net.minecraft.client.multiplayer.chat declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate final FormattedCharSequenceGuiMessage.Line.contentThe field for thecontentrecord component.Methods in net.minecraft.client.multiplayer.chat that return FormattedCharSequenceModifier and TypeMethodDescriptionGuiMessage.Line.content()Returns the value of thecontentrecord component.Methods in net.minecraft.client.multiplayer.chat that return types with arguments of type FormattedCharSequenceConstructors in net.minecraft.client.multiplayer.chat with parameters of type FormattedCharSequenceModifierConstructorDescriptionLine(GuiMessage parent, FormattedCharSequence content, boolean endOfEntry) Creates an instance of aLinerecord class. -
Uses of FormattedCharSequence in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate final FormattedCharSequenceSubmitNodeStorage.TextSubmit.stringThe field for thestringrecord component.Methods in net.minecraft.client.renderer that return FormattedCharSequenceModifier and TypeMethodDescriptionSubmitNodeStorage.TextSubmit.string()Returns the value of thestringrecord component.Methods in net.minecraft.client.renderer with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionvoidOrderedSubmitNodeCollector.submitText(PoseStack poseStack, float x, float y, FormattedCharSequence string, boolean dropShadow, Font.DisplayMode displayMode, int lightCoords, int color, int backgroundColor, int outlineColor) voidSubmitNodeCollection.submitText(PoseStack poseStack, float x, float y, FormattedCharSequence string, boolean dropShadow, Font.DisplayMode displayMode, int lightCoords, int color, int backgroundColor, int outlineColor) voidSubmitNodeStorage.submitText(PoseStack poseStack, float x, float y, FormattedCharSequence string, boolean dropShadow, Font.DisplayMode displayMode, int lightCoords, int color, int backgroundColor, int outlineColor) Constructors in net.minecraft.client.renderer with parameters of type FormattedCharSequenceModifierConstructorDescriptionTextSubmit(Matrix4f pose, float x, float y, FormattedCharSequence string, boolean dropShadow, Font.DisplayMode displayMode, int lightCoords, int color, int backgroundColor, int outlineColor) Creates an instance of aTextSubmitrecord class. -
Uses of FormattedCharSequence in net.minecraft.client.resources.language
Methods in net.minecraft.client.resources.language that return FormattedCharSequenceModifier and TypeMethodDescriptionClientLanguage.getVisualOrder(FormattedText logicalOrderText) static FormattedCharSequenceFormattedBidiReorder.reorder(FormattedText text, boolean defaultRightToLeft) -
Uses of FormattedCharSequence in net.minecraft.locale
Methods in net.minecraft.locale that return FormattedCharSequenceModifier and TypeMethodDescriptionabstract FormattedCharSequenceLanguage.getVisualOrder(FormattedText logicalOrderText) 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 start, int length, boolean reverse) -
Uses of FormattedCharSequence in net.minecraft.util
Fields in net.minecraft.util declared as FormattedCharSequenceMethods in net.minecraft.util that return FormattedCharSequenceModifier and TypeMethodDescriptionstatic FormattedCharSequencestatic FormattedCharSequenceFormattedCharSequence.backward(String plainText, Style style, it.unimi.dsi.fastutil.ints.Int2IntFunction modifier) static FormattedCharSequencestatic FormattedCharSequenceFormattedCharSequence.composite()static FormattedCharSequenceFormattedCharSequence.composite(List<FormattedCharSequence> parts) static FormattedCharSequenceFormattedCharSequence.composite(FormattedCharSequence part) static FormattedCharSequenceFormattedCharSequence.composite(FormattedCharSequence... parts) static FormattedCharSequenceFormattedCharSequence.composite(FormattedCharSequence first, FormattedCharSequence second) static FormattedCharSequencestatic FormattedCharSequenceFormattedCharSequence.forward(String plainText, Style style, it.unimi.dsi.fastutil.ints.Int2IntFunction modifier) static FormattedCharSequenceFormattedCharSequence.fromList(List<FormattedCharSequence> partCopy) static FormattedCharSequenceFormattedCharSequence.fromPair(FormattedCharSequence first, FormattedCharSequence second) Methods in net.minecraft.util with parameters of type FormattedCharSequenceModifier and TypeMethodDescriptionstatic FormattedCharSequenceFormattedCharSequence.composite(FormattedCharSequence part) static FormattedCharSequenceFormattedCharSequence.composite(FormattedCharSequence... parts) static FormattedCharSequenceFormattedCharSequence.composite(FormattedCharSequence first, FormattedCharSequence second) static FormattedCharSequenceFormattedCharSequence.fromPair(FormattedCharSequence first, FormattedCharSequence second) Method parameters in net.minecraft.util with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionstatic FormattedCharSequenceFormattedCharSequence.composite(List<FormattedCharSequence> parts) static FormattedCharSequenceFormattedCharSequence.fromList(List<FormattedCharSequence> partCopy) -
Uses of FormattedCharSequence in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate final FormattedCharSequenceDisplay.TextDisplay.CachedLine.contentsThe field for thecontentsrecord component.Methods in net.minecraft.world.entity that return FormattedCharSequenceModifier and TypeMethodDescriptionDisplay.TextDisplay.CachedLine.contents()Returns the value of thecontentsrecord component.Constructors in net.minecraft.world.entity with parameters of type FormattedCharSequenceModifierConstructorDescriptionCachedLine(FormattedCharSequence contents, int width) Creates an instance of aCachedLinerecord class. -
Uses of FormattedCharSequence in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as FormattedCharSequenceModifier and TypeFieldDescriptionprivate FormattedCharSequence @Nullable []SignText.renderMessagesMethods in net.minecraft.world.level.block.entity that return FormattedCharSequenceModifier and TypeMethodDescriptionSignText.getRenderMessages(boolean shouldFilter, Function<Component, FormattedCharSequence> prepare) Method parameters in net.minecraft.world.level.block.entity with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionSignText.getRenderMessages(boolean shouldFilter, Function<Component, FormattedCharSequence> prepare) -
Uses of FormattedCharSequence in net.neoforged.neoforge.client.gamerules
Fields in net.neoforged.neoforge.client.gamerules with type parameters of type FormattedCharSequenceMethod parameters in net.neoforged.neoforge.client.gamerules with type arguments of type FormattedCharSequenceModifier and TypeMethodDescriptionGameRuleEntryFactory.create(AbstractGameRulesScreen screen, Component description, List<FormattedCharSequence> tooltip, String str, GameRule<T> gameRule) Constructor parameters in net.neoforged.neoforge.client.gamerules with type arguments of type FormattedCharSequenceModifierConstructorDescriptionGameRuleEntry(Font font, @Nullable List<FormattedCharSequence> tooltip, Component label) GenericGameRuleEntry(AbstractGameRulesScreen screen, Component label, List<FormattedCharSequence> tooltip, String narration, GameRule<T> gameRule) -
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.linesprivate List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.lineTableprivate List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.lineTableMethods 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.