Package net.minecraft.client.gui.tooltip
Interface TooltipComponent
- All Known Implementing Classes:
BundleTooltipComponent
,OrderedTextTooltipComponent
- Mappings:
Namespace Name named net/minecraft/client/gui/tooltip/TooltipComponent
intermediary net/minecraft/class_5684
official fpw
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
drawItems
(TextRenderer textRenderer, int x, int y, DrawContext context) default void
drawText
(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) int
int
getWidth
(TextRenderer textRenderer) static TooltipComponent
of
(TooltipData data) static TooltipComponent
of
(OrderedText text)
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/client/gui/tooltip/TooltipComponent;of(Lnet/minecraft/text/OrderedText;)Lnet/minecraft/client/gui/tooltip/TooltipComponent;
intermediary method_32662
Lnet/minecraft/class_5684;method_32662(Lnet/minecraft/class_5481;)Lnet/minecraft/class_5684;
official a
Lfpw;a(Layl;)Lfpw;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/client/gui/tooltip/TooltipComponent;of(Lnet/minecraft/client/item/TooltipData;)Lnet/minecraft/client/gui/tooltip/TooltipComponent;
intermediary method_32663
Lnet/minecraft/class_5684;method_32663(Lnet/minecraft/class_5632;)Lnet/minecraft/class_5684;
official a
Lfpw;a(Lcsa;)Lfpw;
-
getHeight
int getHeight()- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()I
intermediary method_32661
Lnet/minecraft/class_5684;method_32661()I
official a
Lfpw;a()I
-
getWidth
- Mappings:
Namespace Name Mixin selector named getWidth
Lnet/minecraft/client/gui/tooltip/TooltipComponent;getWidth(Lnet/minecraft/client/font/TextRenderer;)I
intermediary method_32664
Lnet/minecraft/class_5684;method_32664(Lnet/minecraft/class_327;)I
official a
Lfpw;a(Lfgq;)I
-
drawText
default void drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) - Mappings:
Namespace Name Mixin selector named drawText
Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawText(Lnet/minecraft/client/font/TextRenderer;IILorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
intermediary method_32665
Lnet/minecraft/class_5684;method_32665(Lnet/minecraft/class_327;IILorg/joml/Matrix4f;Lnet/minecraft/class_4597$class_4598;)V
official a
Lfpw;a(Lfgq;IILorg/joml/Matrix4f;Lgdp$a;)V
-
drawItems
- Mappings:
Namespace Name Mixin selector named drawItems
Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawItems(Lnet/minecraft/client/font/TextRenderer;IILnet/minecraft/client/gui/DrawContext;)V
intermediary method_32666
Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IILnet/minecraft/class_332;)V
official a
Lfpw;a(Lfgq;IILfgs;)V
-