Uses of Interface
net.minecraft.network.chat.FormattedText
Package
Description
-
Uses of FormattedText in net.minecraft.client
Modifier and TypeMethodDescriptionStringSplitter.FlatComponents.getRemainder()
ComponentCollector.getResult()
ComponentCollector.getResultOrEmpty()
StringSplitter.headByWidth
(FormattedText p_92390_, int p_92391_, Style p_92392_) Modifier 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_) Modifier and TypeMethodDescriptionvoid
ComponentCollector.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_) void
StringSplitter.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_) float
StringSplitter.stringWidth
(FormattedText p_92385_) Modifier and TypeMethodDescriptionvoid
StringSplitter.splitLines
(FormattedText p_92394_, int p_92395_, Style p_92396_, BiConsumer<FormattedText, Boolean> p_92397_) -
Uses of FormattedText in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
Font.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_) int
Font.width
(FormattedText p_92853_) -
Uses of FormattedText in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionstatic MultiLineLabel
MultiLineLabel.create
(Font p_94342_, FormattedText p_94343_, int p_94344_) static MultiLineLabel
MultiLineLabel.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
Modifier and TypeMethodDescriptionvoid
Screen.renderComponentTooltip
(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font) void
Screen.renderComponentTooltip
(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font, ItemStack stack) void
Screen.renderComponentTooltip
(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, ItemStack stack) -
Uses of FormattedText in net.minecraft.client.gui.screens.advancements
Modifier and TypeMethodDescriptionprivate List<FormattedText>
AdvancementWidget.findOptimalLines
(Component p_97309_, int p_97310_) Modifier and TypeMethodDescriptionprivate static float
AdvancementWidget.getMaxWidth
(StringSplitter p_97304_, List<FormattedText> p_97305_) -
Uses of FormattedText in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptiondefault FormattedText
BookViewScreen.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
Modifier and TypeMethodDescriptionClientLanguage.getVisualOrder
(FormattedText p_118925_) static FormattedCharSequence
FormattedBidiReorder.reorder
(FormattedText p_118932_, boolean p_118933_) -
Uses of FormattedText in net.minecraft.locale
Modifier and TypeMethodDescriptionabstract FormattedCharSequence
Language.getVisualOrder
(FormattedText p_128116_) -
Uses of FormattedText in net.minecraft.network.chat
Modifier and TypeClassDescriptionclass
class
class
static class
static class
static class
class
class
class
class
Modifier and TypeFieldDescriptionstatic final FormattedText
FormattedText.EMPTY
private static final FormattedText
TranslatableComponent.TEXT_NULL
private static final FormattedText
TranslatableComponent.TEXT_PERCENT
Modifier and TypeFieldDescriptionprivate List<FormattedText>
TranslatableComponent.decomposedParts
Modifier and TypeMethodDescriptionstatic FormattedText
FormattedText.composite
(List<? extends FormattedText> p_130769_) static FormattedText
FormattedText.composite
(FormattedText... p_130774_) private FormattedText
TranslatableComponent.getArgument
(int p_131314_) static FormattedText
static FormattedText
Modifier and TypeMethodDescriptionstatic FormattedText
FormattedText.composite
(FormattedText... p_130774_) static SubStringSource
SubStringSource.create
(FormattedText p_178537_) static SubStringSource
SubStringSource.create
(FormattedText p_131252_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_131253_, UnaryOperator<String> p_131254_) Modifier and TypeMethodDescriptionstatic FormattedText
FormattedText.composite
(List<? extends FormattedText> p_130769_) private void
TranslatableComponent.decomposeTemplate
(String p_200006_, Consumer<FormattedText> p_200007_) -
Uses of FormattedText in net.minecraft.util
Modifier and TypeMethodDescriptionstatic String
StringDecomposer.getPlainText
(FormattedText p_14327_) static boolean
StringDecomposer.iterateFormatted
(FormattedText p_14329_, Style p_14330_, FormattedCharSink p_14331_) -
Uses of FormattedText in net.minecraftforge.client
Modifier 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
Modifier and TypeFieldDescriptionprivate final List<com.mojang.datafixers.util.Either<FormattedText,
TooltipComponent>> RenderTooltipEvent.GatherComponents.tooltipElements
Modifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Either<FormattedText,
TooltipComponent>> RenderTooltipEvent.GatherComponents.getTooltipElements()
The elements to be rendered.ModifierConstructorDescriptionGatherComponents
(ItemStack itemStack, int screenWidth, int screenHeight, List<com.mojang.datafixers.util.Either<FormattedText, TooltipComponent>> tooltipElements, int maxWidth) -
Uses of FormattedText in net.minecraftforge.internal
Modifier and TypeMethodDescriptionstatic int
TextComponentMessageFormatHandler.handle
(TranslatableComponent parent, Consumer<FormattedText> addChild, Object[] formatArgs, String format)