Uses of Interface
net.minecraft.network.chat.FormattedText
Packages that use FormattedText
Package
Description
-
Uses of FormattedText in net.minecraft.client
Classes in net.minecraft.client that implement FormattedTextFields in net.minecraft.client with type parameters of type FormattedTextMethods in net.minecraft.client that return FormattedTextModifier and TypeMethodDescriptionStringSplitter.FlatComponents.getRemainder()ComponentCollector.getResult()ComponentCollector.getResultOrEmpty()StringSplitter.headByWidth(FormattedText p_92390_, int p_92391_, Style p_92392_)Methods in net.minecraft.client that return types with arguments of type FormattedTextModifier and TypeMethodDescriptionStringSplitter.splitLines(String p_92433_, int p_92434_, Style p_92435_)StringSplitter.splitLines(FormattedText p_92415_, int p_92416_, Style p_92417_)StringSplitter.splitLines(FormattedText p_168622_, int p_168623_, Style p_168624_, FormattedText p_168625_)Methods in net.minecraft.client with parameters of type FormattedTextModifier and TypeMethodDescriptionvoidComponentCollector.append(FormattedText p_90676_)StringSplitter.componentStyleAtWidth(FormattedText p_92387_, int p_92388_)StringSplitter.headByWidth(FormattedText p_92390_, int p_92391_, Style p_92392_)StringSplitter.splitLines(FormattedText p_92415_, int p_92416_, Style p_92417_)voidStringSplitter.splitLines(FormattedText p_92394_, int p_92395_, Style p_92396_, BiConsumer<FormattedText,Boolean> p_92397_)StringSplitter.splitLines(FormattedText p_168622_, int p_168623_, Style p_168624_, FormattedText p_168625_)floatStringSplitter.stringWidth(FormattedText p_92385_)Method parameters in net.minecraft.client with type arguments of type FormattedTextModifier and TypeMethodDescriptionvoidStringSplitter.splitLines(FormattedText p_92394_, int p_92395_, Style p_92396_, BiConsumer<FormattedText,Boolean> p_92397_) -
Uses of FormattedText in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return FormattedTextMethods in net.minecraft.client.gui with parameters of type FormattedTextModifier and TypeMethodDescriptionvoidFont.drawWordWrap(FormattedText p_92858_, int p_92859_, int p_92860_, int p_92861_, int p_92862_)Font.split(FormattedText p_92924_, int p_92925_)Font.substrByWidth(FormattedText p_92855_, int p_92856_)intFont.width(FormattedText p_92853_) -
Uses of FormattedText in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type FormattedTextModifier and TypeMethodDescriptionstatic MultiLineLabelMultiLineLabel.create(Font p_94342_, FormattedText p_94343_, int p_94344_)static MultiLineLabelMultiLineLabel.create(Font p_94346_, FormattedText p_94347_, int p_94348_, int p_94349_)static List<FormattedCharSequence>ComponentRenderUtils.wrapComponents(FormattedText p_94006_, int p_94007_, Font p_94008_) -
Uses of FormattedText in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as FormattedTextMethod parameters in net.minecraft.client.gui.screens with type arguments of type FormattedTextModifier and TypeMethodDescriptionvoidScreen.renderComponentTooltip(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font)voidScreen.renderComponentTooltip(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font, ItemStack stack)voidScreen.renderComponentTooltip(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, ItemStack stack)voidScreen.renderComponentToolTip(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of FormattedText in net.minecraft.client.gui.screens.advancements
Methods in net.minecraft.client.gui.screens.advancements that return types with arguments of type FormattedTextModifier and TypeMethodDescriptionprivate List<FormattedText>AdvancementWidget.findOptimalLines(Component p_97309_, int p_97310_)Method parameters in net.minecraft.client.gui.screens.advancements with type arguments of type FormattedTextModifier and TypeMethodDescriptionprivate static floatAdvancementWidget.getMaxWidth(StringSplitter p_97304_, List<FormattedText> p_97305_) -
Uses of FormattedText in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory that return FormattedTextModifier and TypeMethodDescriptiondefault FormattedTextBookViewScreen.BookAccess.getPage(int p_98311_)BookViewScreen.BookAccess.getPageRaw(int p_98307_)BookViewScreen.WritableBookAccess.getPageRaw(int p_98317_)BookViewScreen.WrittenBookAccess.getPageRaw(int p_98325_)EnchantmentNames.getRandomName(Font p_98738_, int p_98739_) -
Uses of FormattedText in net.minecraft.client.resources.language
Methods in net.minecraft.client.resources.language with parameters of type FormattedTextModifier and TypeMethodDescriptionClientLanguage.getVisualOrder(FormattedText p_118925_)static FormattedCharSequenceFormattedBidiReorder.reorder(FormattedText p_118932_, boolean p_118933_) -
Uses of FormattedText in net.minecraft.locale
Methods in net.minecraft.locale with parameters of type FormattedTextModifier and TypeMethodDescriptionabstract FormattedCharSequenceLanguage.getVisualOrder(FormattedText p_128116_)Method parameters in net.minecraft.locale with type arguments of type FormattedText -
Uses of FormattedText in net.minecraft.network.chat
Subinterfaces of FormattedText in net.minecraft.network.chatClasses in net.minecraft.network.chat that implement FormattedTextModifier and TypeClassDescriptionclassclassclassstatic classstatic classstatic classclassclassclassclassFields in net.minecraft.network.chat declared as FormattedTextModifier and TypeFieldDescriptionstatic FormattedTextFormattedText.EMPTYprivate static FormattedTextTranslatableComponent.TEXT_NULLprivate static FormattedTextTranslatableComponent.TEXT_PERCENTFields in net.minecraft.network.chat with type parameters of type FormattedTextModifier and TypeFieldDescriptionprivate List<FormattedText>TranslatableComponent.decomposedPartsMethods in net.minecraft.network.chat that return FormattedTextModifier and TypeMethodDescriptionstatic FormattedTextFormattedText.composite(List<? extends FormattedText> p_130769_)static FormattedTextFormattedText.composite(FormattedText... p_130774_)private FormattedTextTranslatableComponent.getArgument(int p_131314_)static FormattedTextstatic FormattedTextMethods in net.minecraft.network.chat with parameters of type FormattedTextModifier and TypeMethodDescriptionstatic FormattedTextFormattedText.composite(FormattedText... p_130774_)static SubStringSourceSubStringSource.create(FormattedText p_178537_)static SubStringSourceSubStringSource.create(FormattedText p_131252_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_131253_, UnaryOperator<String> p_131254_)Method parameters in net.minecraft.network.chat with type arguments of type FormattedTextModifier and TypeMethodDescriptionstatic FormattedTextFormattedText.composite(List<? extends FormattedText> p_130769_) -
Uses of FormattedText in net.minecraft.util
Methods in net.minecraft.util with parameters of type FormattedTextModifier and TypeMethodDescriptionstatic StringStringDecomposer.getPlainText(FormattedText p_14327_)static booleanStringDecomposer.iterateFormatted(FormattedText p_14329_, Style p_14330_, FormattedCharSink p_14331_) -
Uses of FormattedText in net.minecraftforge.client
Method parameters in net.minecraftforge.client with type arguments of type FormattedTextModifier and TypeMethodDescriptionstatic List<ClientTooltipComponent>ForgeHooksClient.gatherTooltipComponents(ItemStack stack, List<? extends FormattedText> textElements, int mouseX, int screenWidth, int screenHeight, Font forcedFont, Font fallbackFont)static List<ClientTooltipComponent>ForgeHooksClient.gatherTooltipComponents(ItemStack stack, List<? extends FormattedText> textElements, Optional<TooltipComponent> itemComponent, int mouseX, int screenWidth, int screenHeight, Font forcedFont, Font fallbackFont) -
Uses of FormattedText in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event with type parameters of type FormattedTextModifier and TypeFieldDescriptionprotected List<? extends FormattedText>RenderTooltipEvent.linesDeprecated, for removal: This API element is subject to removal in a future version.private List<com.mojang.datafixers.util.Either<FormattedText,TooltipComponent>>RenderTooltipEvent.GatherComponents.tooltipElementsMethods in net.minecraftforge.client.event that return types with arguments of type FormattedTextModifier and TypeMethodDescriptionList<? extends FormattedText>RenderTooltipEvent.getLines()Deprecated, for removal: This API element is subject to removal in a future version.List<com.mojang.datafixers.util.Either<FormattedText,TooltipComponent>>RenderTooltipEvent.GatherComponents.getTooltipElements()The elements to be rendered.Constructor parameters in net.minecraftforge.client.event with type arguments of type FormattedTextModifierConstructorDescriptionColor(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int background, int borderStart, int borderEnd)Deprecated, for removal: This API element is subject to removal in a future version.GatherComponents(ItemStack stack, int screenWidth, int screenHeight, List<com.mojang.datafixers.util.Either<FormattedText,TooltipComponent>> tooltipElements, int maxWidth)Post(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)Deprecated, for removal: This API element is subject to removal in a future version.PostBackground(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)Deprecated, for removal: This API element is subject to removal in a future version.PostText(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)Deprecated, for removal: This API element is subject to removal in a future version.Pre(ItemStack stack, List<? extends FormattedText> lines, PoseStack matrixStack, int x, int y, int screenWidth, int screenHeight, int maxWidth, Font fr)Deprecated, for removal: This API element is subject to removal in a future version.RenderTooltipEvent(ItemStack stack, List<? extends FormattedText> lines, PoseStack matrixStack, int x, int y, Font fr)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of FormattedText in net.minecraftforge.fmlclient.gui
Method parameters in net.minecraftforge.fmlclient.gui with type arguments of type FormattedTextModifier and TypeMethodDescriptionstatic voidGuiUtils.drawHoveringText(PoseStack mStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, int backgroundColor, int borderColorStart, int borderColorEnd, Font font)Deprecated, for removal: This API element is subject to removal in a future version.static voidGuiUtils.drawHoveringText(PoseStack mStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, Font font)Deprecated, for removal: This API element is subject to removal in a future version.static voidGuiUtils.drawHoveringText(ItemStack stack, PoseStack pStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, int backgroundColor, int borderColorStart, int borderColorEnd, Font font)Deprecated, for removal: This API element is subject to removal in a future version.static voidGuiUtils.drawHoveringText(ItemStack stack, PoseStack mStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, Font font)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of FormattedText in net.minecraftforge.fmllegacy
Method parameters in net.minecraftforge.fmllegacy with type arguments of type FormattedTextModifier and TypeMethodDescriptionstatic intTextComponentMessageFormatHandler.handle(TranslatableComponent parent, List<FormattedText> children, Object[] formatArgs, String format)
RenderTooltipEvent.getComponents()