Uses of Interface
net.minecraft.text.OrderedText
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of OrderedText in net.minecraft.block.entity
Modifier and TypeMethodDescriptionSignText.getOrderedMessages
(boolean filtered, Function<Text, OrderedText> messageOrderer) Modifier and TypeMethodDescriptionSignText.getOrderedMessages
(boolean filtered, Function<Text, OrderedText> messageOrderer) -
Uses of OrderedText in net.minecraft.client.font
Modifier and TypeMethodDescriptionTextRenderer.wrapLines
(StringVisitable text, int width) Wraps text when the rendered width of text exceeds thewidth
.Modifier and TypeMethodDescriptionint
TextRenderer.draw
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer.TextLayerType layerType, int backgroundColor, int light) private int
TextRenderer.drawInternal
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer.TextLayerType layerType, int backgroundColor, int light) private float
TextRenderer.drawLayer
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, TextRenderer.TextLayerType layerType, int underlineColor, int light) void
TextRenderer.drawWithOutline
(OrderedText text, float x, float y, int color, int outlineColor, Matrix4f matrix, VertexConsumerProvider vertexConsumers, int light) TextHandler.getStyleAt
(OrderedText text, int x) Gets the style at thex
position in a text.float
TextHandler.getWidth
(OrderedText text) int
TextRenderer.getWidth
(OrderedText text) Gets the width of some text when rendered. -
Uses of OrderedText in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
DrawContext.drawCenteredTextWithShadow
(TextRenderer textRenderer, OrderedText text, int centerX, int y, int color) int
DrawContext.drawText
(TextRenderer textRenderer, OrderedText text, int x, int y, int color, boolean shadow) int
DrawContext.drawTextWithShadow
(TextRenderer textRenderer, OrderedText text, int x, int y, int color) Modifier and TypeMethodDescriptionvoid
DrawContext.drawOrderedTooltip
(TextRenderer textRenderer, List<? extends OrderedText> text, int x, int y) void
DrawContext.drawTooltip
(TextRenderer textRenderer, List<OrderedText> text, TooltipPositioner positioner, int x, int y) -
Uses of OrderedText in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate final OrderedText
ChatHudLine.Visible.content
The field for thecontent
record component.Modifier and TypeMethodDescriptionChatHudLine.Visible.content()
Returns the value of thecontent
record component.ModifierConstructorDescriptionVisible
(int int2, OrderedText orderedText, @Nullable MessageIndicator messageIndicator, boolean bool) -
Uses of OrderedText in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate List
<OrderedText> CreditsScreen.credits
private final List
<OrderedText> ChatInputSuggestor.messages
private final List
<OrderedText> Screen.PositionedTooltip.tooltip
The field for thetooltip
record component.Modifier and TypeMethodDescriptionprivate static OrderedText
ChatInputSuggestor.formatException
(com.mojang.brigadier.exceptions.CommandSyntaxException exception) private static OrderedText
ChatInputSuggestor.highlight
(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex) private OrderedText
ChatInputSuggestor.provideRenderText
(String original, int firstCharacterIndex) Modifier and TypeMethodDescriptionScreen.PositionedTooltip.tooltip()
Returns the value of thetooltip
record component.Modifier and TypeMethodDescriptionvoid
Screen.setTooltip
(List<OrderedText> tooltip) void
Screen.setTooltip
(List<OrderedText> tooltip, TooltipPositioner positioner, boolean focused) ModifierConstructorDescription(package private)
PositionedTooltip
(List<OrderedText> list, TooltipPositioner tooltipPositioner) -
Uses of OrderedText in net.minecraft.client.gui.screen.advancement
-
Uses of OrderedText in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate static final OrderedText
BookEditScreen.BLACK_CURSOR_TEXT
private static final OrderedText
BookEditScreen.GRAY_CURSOR_TEXT
-
Uses of OrderedText in net.minecraft.client.gui.screen.pack
Modifier and TypeFieldDescriptionprivate final OrderedText
PackListWidget.ResourcePackEntry.displayName
private final OrderedText
PackListWidget.ResourcePackEntry.incompatibleText
Modifier and TypeMethodDescriptionprivate static OrderedText
PackListWidget.ResourcePackEntry.trimTextToWidth
(MinecraftClient client, Text text) -
Uses of OrderedText in net.minecraft.client.gui.screen.report
Modifier and TypeFieldDescriptionprivate final @Nullable List
<OrderedText> ChatSelectionScreen.SelectionListWidget.MessageEntry.fullContent
private final @Nullable List
<OrderedText> ChatSelectionScreen.SelectionListWidget.MessageEntry.originalContent
-
Uses of OrderedText in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescription(package private) final @Nullable List
<OrderedText> EditGameRulesScreen.AbstractRuleWidget.description
private final List
<OrderedText> EditGameRulesScreen.NamedRuleWidget.name
Modifier and TypeMethodDescriptionEditGameRulesScreen.RuleWidgetFactory.create
(Text name, List<OrderedText> description, String ruleName, T rule) ModifierConstructorDescriptionAbstractRuleWidget
(@Nullable List<OrderedText> description) BooleanRuleWidget
(Text name, List<OrderedText> description, String ruleName, GameRules.BooleanRule rule) IntRuleWidget
(Text name, List<OrderedText> description, String ruleName, GameRules.IntRule rule) NamedRuleWidget
(@Nullable List<OrderedText> description, Text name) -
Uses of OrderedText in net.minecraft.client.gui.tooltip
Modifier and TypeMethodDescriptionTooltip.getLines
(MinecraftClient client) static List
<OrderedText> Tooltip.wrapLines
(MinecraftClient client, Text text) -
Uses of OrderedText in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate BiFunction
<String, Integer, OrderedText> TextFieldWidget.renderTextProvider
Modifier and TypeMethodDescriptionvoid
TextFieldWidget.setRenderTextProvider
(BiFunction<String, Integer, OrderedText> renderTextProvider) -
Uses of OrderedText in net.minecraft.client.resource.language
Modifier and TypeMethodDescriptionstatic OrderedText
ReorderingUtil.reorder
(StringVisitable text, boolean rightToLeft) TranslationStorage.reorder
(StringVisitable text) -
Uses of OrderedText in net.minecraft.client.toast
Modifier and TypeMethodDescriptionprivate static ImmutableList
<OrderedText> SystemToast.getTextAsList
(@Nullable Text text) ModifierConstructorDescriptionprivate
SystemToast
(SystemToast.Type type, Text title, List<OrderedText> lines, int width) -
Uses of OrderedText in net.minecraft.client.util
Modifier and TypeMethodDescriptionstatic List
<OrderedText> ChatMessages.breakRenderedChatMessageLines
(StringVisitable message, int width, TextRenderer textRenderer) -
Uses of OrderedText in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionprivate final OrderedText
DisplayEntity.TextDisplayEntity.TextLine.contents
The field for thecontents
record component. -
Uses of OrderedText in net.minecraft.text
Modifier and TypeFieldDescriptionstatic final OrderedText
OrderedText.EMPTY
An empty text that does not call the visitors.private OrderedText
MutableText.ordered
Modifier and TypeMethodDescriptionMutableText.asOrderedText()
Text.asOrderedText()
static OrderedText
OrderedText.concat
(List<OrderedText> texts) static OrderedText
OrderedText.concat
(OrderedText[] texts) static OrderedText
OrderedText.concat
(OrderedText first, OrderedText second) static OrderedText
OrderedText.empty()
static OrderedText
OrderedText.innerConcat
(List<OrderedText> texts) static OrderedText
OrderedText.innerConcat
(OrderedText text1, OrderedText text2) static OrderedText
OrderedText.of
(OrderedText text) static OrderedText
static OrderedText
OrderedText.styledBackwardsVisitedString
(String string, Style style) static OrderedText
OrderedText.styledBackwardsVisitedString
(String string, Style style, Int2IntFunction codePointMapper) static OrderedText
OrderedText.styledForwardsVisitedString
(String string, Style style) static OrderedText
OrderedText.styledForwardsVisitedString
(String string, Style style, Int2IntFunction codePointMapper) Modifier and TypeMethodDescriptionTextReorderingProcessor.process
(int start, int length, boolean reverse) Modifier and TypeMethodDescriptionstatic OrderedText
OrderedText.concat
(OrderedText[] texts) static OrderedText
OrderedText.concat
(OrderedText first, OrderedText second) static OrderedText
OrderedText.innerConcat
(OrderedText text1, OrderedText text2) static OrderedText
OrderedText.of
(OrderedText text) Modifier and TypeMethodDescriptionstatic OrderedText
OrderedText.concat
(List<OrderedText> texts) static OrderedText
OrderedText.innerConcat
(List<OrderedText> texts) -
Uses of OrderedText in net.minecraft.util