Package net.minecraft.client.gui.tooltip
Class OrderedTextTooltipComponent
java.lang.Object
net.minecraft.client.gui.tooltip.OrderedTextTooltipComponent
- All Implemented Interfaces:
TooltipComponent
@Environment(CLIENT)
public class OrderedTextTooltipComponent
extends Object
implements TooltipComponent
- Mappings:
Namespace Name official evt
intermediary net/minecraft/class_5683
named net/minecraft/client/gui/tooltip/OrderedTextTooltipComponent
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawText
(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) int
int
getWidth
(TextRenderer textRenderer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.tooltip.TooltipComponent
drawItems
-
Field Details
-
text
- Mappings:
Namespace Name Mixin selector official a
Levt;a:Laov;
intermediary field_27997
Lnet/minecraft/class_5683;field_27997:Lnet/minecraft/class_5481;
named text
Lnet/minecraft/client/gui/tooltip/OrderedTextTooltipComponent;text:Lnet/minecraft/text/OrderedText;
-
-
Constructor Details
-
OrderedTextTooltipComponent
- Mappings:
Namespace Name Mixin selector official <init>
Levt;<init>(Laov;)V
intermediary <init>
Lnet/minecraft/class_5683;<init>(Lnet/minecraft/class_5481;)V
named <init>
Lnet/minecraft/client/gui/tooltip/OrderedTextTooltipComponent;<init>(Lnet/minecraft/text/OrderedText;)V
-
-
Method Details
-
getWidth
- Specified by:
getWidth
in interfaceTooltipComponent
- Mappings:
Namespace Name Mixin selector official a
Levu;a(Lenp;)I
intermediary method_32664
Lnet/minecraft/class_5684;method_32664(Lnet/minecraft/class_327;)I
named getWidth
Lnet/minecraft/client/gui/tooltip/TooltipComponent;getWidth(Lnet/minecraft/client/font/TextRenderer;)I
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceTooltipComponent
- Mappings:
Namespace Name Mixin selector official a
Levu;a()I
intermediary method_32661
Lnet/minecraft/class_5684;method_32661()I
named getHeight
Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()I
-
drawText
public void drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) - Specified by:
drawText
in interfaceTooltipComponent
- Mappings:
Namespace Name Mixin selector official a
Levu;a(Lenp;IILorg/joml/Matrix4f;Lfig$a;)V
intermediary method_32665
Lnet/minecraft/class_5684;method_32665(Lnet/minecraft/class_327;IILorg/joml/Matrix4f;Lnet/minecraft/class_4597$class_4598;)V
named drawText
Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawText(Lnet/minecraft/client/font/TextRenderer;IILorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
-