Uses of Interface
net.minecraft.text.OrderedText
Package
Description
-
Uses of OrderedText in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate @Nullable OrderedText[]
SignBlockEntity.textsBeingEdited
Modifier and TypeMethodDescriptionSignBlockEntity.updateSign
(boolean filterText, Function<Text, OrderedText> textOrderingFunction) Modifier and TypeMethodDescriptionSignBlockEntity.updateSign
(boolean filterText, Function<Text, OrderedText> textOrderingFunction) -
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
(MatrixStack matrices, OrderedText text, float x, float y, int color) int
TextRenderer.draw
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light) private int
TextRenderer.draw
(OrderedText text, float x, float y, int color, Matrix4f matrix, boolean shadow) private int
TextRenderer.drawInternal
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int backgroundColor, int light) private float
TextRenderer.drawLayer
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int underlineColor, int light) void
TextRenderer.drawWithOutline
(OrderedText text, float x, float y, int color, int outlineColor, Matrix4f matrix, VertexConsumerProvider vertexConsumers, int light) int
TextRenderer.drawWithShadow
(MatrixStack matrices, OrderedText text, float x, float y, int color) 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 TypeMethodDescriptionstatic void
DrawableHelper.drawCenteredTextWithShadow
(MatrixStack matrices, TextRenderer textRenderer, OrderedText text, int centerX, int y, int color) static void
DrawableHelper.drawWithShadow
(MatrixStack matrices, TextRenderer textRenderer, OrderedText text, int x, int y, int color) -
Uses of OrderedText in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate final List<ChatHudLine<OrderedText>>
ChatHud.visibleMessages
-
Uses of OrderedText in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate List<OrderedText>
CreditsScreen.credits
private final List<OrderedText>
CommandSuggestor.messages
Modifier and TypeMethodDescriptionprivate static OrderedText
CommandSuggestor.formatException
(com.mojang.brigadier.exceptions.CommandSyntaxException exception) private static OrderedText
CommandSuggestor.highlight
(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex) private OrderedText
CommandSuggestor.provideRenderText
(String original, int firstCharacterIndex) Modifier and TypeMethodDescriptionprivate int
ChatScreen.getPreviewHeight
(List<OrderedText> lines) void
Screen.renderOrderedTooltip
(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y) -
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.multiplayer
Modifier and TypeFieldDescription(package private) final List<OrderedText>
SocialInteractionsPlayerListEntry.hideTooltip
(package private) final List<OrderedText>
SocialInteractionsPlayerListEntry.showTooltip
Modifier and TypeMethodDescription(package private) static void
SocialInteractionsPlayerListEntry.renderTooltip
(SocialInteractionsScreen screen, MatrixStack matrices, List<OrderedText> tooltip, int mouseX, int mouseY) -
Uses of OrderedText in net.minecraft.client.gui.screen.option
Modifier and TypeMethodDescriptionstatic List<OrderedText>
GameOptionsScreen.getHoveredButtonTooltip
(ButtonListWidget buttonList, int mouseX, int mouseY) -
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.world
Modifier and TypeFieldDescription(package private) final @Nullable List<OrderedText>
EditGameRulesScreen.AbstractRuleWidget.description
private final List<OrderedText>
EditGameRulesScreen.NamedRuleWidget.name
private @Nullable List<OrderedText>
EditGameRulesScreen.tooltip
private @Nullable List<OrderedText>
SelectWorldScreen.tooltip
Modifier and TypeMethodDescriptionEditGameRulesScreen.RuleWidgetFactory.create
(Text name, List<OrderedText> description, String ruleName, T rule) (package private) void
EditGameRulesScreen.setTooltip
(@Nullable List<OrderedText> tooltip) void
SelectWorldScreen.setTooltip
(List<OrderedText> tooltip) 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
-
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.option
Modifier and TypeMethodDescriptionSimpleOption.OptionSliderWidgetImpl.getOrderedTooltip()
protected static List<OrderedText>
SimpleOption.wrapLines
(MinecraftClient client, Text text) -
Uses of OrderedText in net.minecraft.client.resource.language
Modifier and TypeMethodDescriptionstatic OrderedText
ReorderingUtil.reorder
(StringVisitable text, boolean rightToLeft) TranslationStorage.reorder
(StringVisitable text) Modifier and TypeMethodDescriptionTextReorderingProcessor.process
(int start, int length, boolean reverse) -
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) OrderableTooltip.getOrderedTooltip()
-
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 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