Package net.minecraft.client.gui.tooltip
Interface TooltipComponent
- All Known Implementing Classes:
BundleTooltipComponent,OrderedTextTooltipComponent
- Mappings:
Namespace Name official ewwintermediary net/minecraft/class_5684named net/minecraft/client/gui/tooltip/TooltipComponent
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddrawItems(TextRenderer textRenderer, int x, int y, DrawContext context) default voiddrawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) intintgetWidth(TextRenderer textRenderer) static TooltipComponentof(TooltipData data) static TooltipComponentof(OrderedText text)
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLeww;a(Laom;)Leww;intermediary method_32662Lnet/minecraft/class_5684;method_32662(Lnet/minecraft/class_5481;)Lnet/minecraft/class_5684;named ofLnet/minecraft/client/gui/tooltip/TooltipComponent;of(Lnet/minecraft/text/OrderedText;)Lnet/minecraft/client/gui/tooltip/TooltipComponent;
-
of
- Mappings:
Namespace Name Mixin selector official aLeww;a(Lcdd;)Leww;intermediary method_32663Lnet/minecraft/class_5684;method_32663(Lnet/minecraft/class_5632;)Lnet/minecraft/class_5684;named ofLnet/minecraft/client/gui/tooltip/TooltipComponent;of(Lnet/minecraft/client/item/TooltipData;)Lnet/minecraft/client/gui/tooltip/TooltipComponent;
-
getHeight
int getHeight()- Mappings:
Namespace Name Mixin selector official aLeww;a()Iintermediary method_32661Lnet/minecraft/class_5684;method_32661()Inamed getHeightLnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()I
-
getWidth
- Mappings:
Namespace Name Mixin selector official aLeww;a(Leon;)Iintermediary method_32664Lnet/minecraft/class_5684;method_32664(Lnet/minecraft/class_327;)Inamed getWidthLnet/minecraft/client/gui/tooltip/TooltipComponent;getWidth(Lnet/minecraft/client/font/TextRenderer;)I
-
drawText
default void drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) - Mappings:
Namespace Name Mixin selector official aLeww;a(Leon;IILorg/joml/Matrix4f;Lfjm$a;)Vintermediary method_32665Lnet/minecraft/class_5684;method_32665(Lnet/minecraft/class_327;IILorg/joml/Matrix4f;Lnet/minecraft/class_4597$class_4598;)Vnamed drawTextLnet/minecraft/client/gui/tooltip/TooltipComponent;drawText(Lnet/minecraft/client/font/TextRenderer;IILorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
-
drawItems
- Mappings:
Namespace Name Mixin selector official aLeww;a(Leon;IILeop;)Vintermediary method_32666Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IILnet/minecraft/class_332;)Vnamed drawItemsLnet/minecraft/client/gui/tooltip/TooltipComponent;drawItems(Lnet/minecraft/client/font/TextRenderer;IILnet/minecraft/client/gui/DrawContext;)V
-