Package net.minecraft.client.gui.tooltip
Interface TooltipComponent
- All Known Implementing Classes:
BundleTooltipComponent
,OrderedTextTooltipComponent
@Environment(CLIENT) public interface TooltipComponent
- Mappings:
Namespace Name official dxo
intermediary net/minecraft/class_5684
named net/minecraft/client/gui/tooltip/TooltipComponent
-
Method Summary
Modifier and Type Method Description default void
drawItems(TextRenderer textRenderer, int x, int y, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)
default void
drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix4f, VertexConsumerProvider.Immediate immediate)
int
getHeight()
int
getWidth(TextRenderer textRenderer)
static TooltipComponent
of(TooltipData data)
static TooltipComponent
of(OrderedText text)
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldxo;a(Lafs;)Ldxo;
intermediary method_32662
Lnet/minecraft/class_5684;method_32662(Lnet/minecraft/class_5481;)Lnet/minecraft/class_5684;
named of
Lnet/minecraft/client/gui/tooltip/TooltipComponent;of(Lnet/minecraft/text/OrderedText;)Lnet/minecraft/client/gui/tooltip/TooltipComponent;
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldxo;a(Lblo;)Ldxo;
intermediary method_32663
Lnet/minecraft/class_5684;method_32663(Lnet/minecraft/class_5632;)Lnet/minecraft/class_5684;
named of
Lnet/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 a
Ldxo;a()I
intermediary method_32661
Lnet/minecraft/class_5684;method_32661()I
named getHeight
Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()I
-
getWidth
- Mappings:
Namespace Name Mixin selector official a
Ldxo;a(Ldrf;)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
-
drawText
default void drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix4f, VertexConsumerProvider.Immediate immediate)- Mappings:
Namespace Name Mixin selector official a
Ldxo;a(Ldrf;IILb;Lehq$a;)V
intermediary method_32665
Lnet/minecraft/class_5684;method_32665(Lnet/minecraft/class_327;IILnet/minecraft/class_1159;Lnet/minecraft/class_4597$class_4598;)V
named drawText
Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawText(Lnet/minecraft/client/font/TextRenderer;IILnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
-
drawItems
default void drawItems(TextRenderer textRenderer, int x, int y, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)- Mappings:
Namespace Name Mixin selector official a
Ldxo;a(Ldrf;IILdlr;Lenf;ILerv;)V
intermediary method_32666
Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IILnet/minecraft/class_4587;Lnet/minecraft/class_918;ILnet/minecraft/class_1060;)V
named drawItems
Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawItems(Lnet/minecraft/client/font/TextRenderer;IILnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/item/ItemRenderer;ILnet/minecraft/client/texture/TextureManager;)V
-