Package net.minecraft.client.gui.tooltip
Class BundleTooltipComponent
java.lang.Object
net.minecraft.client.gui.tooltip.BundleTooltipComponent
- All Implemented Interfaces:
TooltipComponent
- Mappings:
Namespace Name named net/minecraft/client/gui/tooltip/BundleTooltipComponentintermediary net/minecraft/class_5682official fpk
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifierprivate static final intprivate static final intprivate final BundleContentsComponentprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddraw(DrawContext context, int x, int y, BundleTooltipComponent.SlotSprite sprite) voiddrawItems(TextRenderer textRenderer, int x, int y, DrawContext context) private voiddrawSlot(int x, int y, int index, boolean shouldBlock, DrawContext context, TextRenderer textRenderer) private intprivate intintprivate intgetRows()private intintgetWidth(TextRenderer textRenderer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.tooltip.TooltipComponent
drawText
-
Field Details
-
BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named BACKGROUND_TEXTURELnet/minecraft/client/gui/tooltip/BundleTooltipComponent;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45506Lnet/minecraft/class_5682;field_45506:Lnet/minecraft/class_2960;official aLfpk;a:Lakk;
-
field_32381
private static final int field_32381- See Also:
- Mappings:
Namespace Name Mixin selector named field_32381Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_32381:Iintermediary field_32381Lnet/minecraft/class_5682;field_32381:Iofficial bLfpk;b:I
-
field_32382
private static final int field_32382- See Also:
- Mappings:
Namespace Name Mixin selector named field_32382Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_32382:Iintermediary field_32382Lnet/minecraft/class_5682;field_32382:Iofficial cLfpk;c:I
-
WIDTH_PER_COLUMN
private static final int WIDTH_PER_COLUMN- See Also:
- Mappings:
Namespace Name Mixin selector named WIDTH_PER_COLUMNLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;WIDTH_PER_COLUMN:Iintermediary field_32384Lnet/minecraft/class_5682;field_32384:Iofficial dLfpk;d:I
-
HEIGHT_PER_ROW
private static final int HEIGHT_PER_ROW- See Also:
- Mappings:
Namespace Name Mixin selector named HEIGHT_PER_ROWLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;HEIGHT_PER_ROW:Iintermediary field_32385Lnet/minecraft/class_5682;field_32385:Iofficial eLfpk;e:I
-
field_49537
- Mappings:
Namespace Name Mixin selector named field_49537Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_49537:Lnet/minecraft/component/type/BundleContentsComponent;intermediary field_49537Lnet/minecraft/class_5682;field_49537:Lnet/minecraft/class_9276;official fLfpk;f:Lcwm;
-
-
Constructor Details
-
BundleTooltipComponent
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;<init>(Lnet/minecraft/component/type/BundleContentsComponent;)Vintermediary <init>Lnet/minecraft/class_5682;<init>(Lnet/minecraft/class_9276;)Vofficial <init>Lfpk;<init>(Lcwm;)V
-
-
Method Details
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceTooltipComponent- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()Iintermediary method_32661Lnet/minecraft/class_5684;method_32661()Iofficial aLfpm;a()I
-
getWidth
- Specified by:
getWidthin interfaceTooltipComponent- Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/client/gui/tooltip/TooltipComponent;getWidth(Lnet/minecraft/client/font/TextRenderer;)Iintermediary method_32664Lnet/minecraft/class_5684;method_32664(Lnet/minecraft/class_327;)Iofficial aLfpm;a(Lfgx;)I
-
getColumnsWidth
private int getColumnsWidth()- Mappings:
Namespace Name Mixin selector named getColumnsWidthLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getColumnsWidth()Iintermediary method_52755Lnet/minecraft/class_5682;method_52755()Iofficial bLfpk;b()I
-
getRowsHeight
private int getRowsHeight()- Mappings:
Namespace Name Mixin selector named getRowsHeightLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getRowsHeight()Iintermediary method_52756Lnet/minecraft/class_5682;method_52756()Iofficial cLfpk;c()I
-
drawItems
- Specified by:
drawItemsin interfaceTooltipComponent- Mappings:
Namespace Name Mixin selector named drawItemsLnet/minecraft/client/gui/tooltip/TooltipComponent;drawItems(Lnet/minecraft/client/font/TextRenderer;IILnet/minecraft/client/gui/DrawContext;)Vintermediary method_32666Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IILnet/minecraft/class_332;)Vofficial aLfpm;a(Lfgx;IILfgz;)V
-
drawSlot
private void drawSlot(int x, int y, int index, boolean shouldBlock, DrawContext context, TextRenderer textRenderer) - Mappings:
Namespace Name Mixin selector named drawSlotLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawSlot(IIIZLnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;)Vintermediary method_33287Lnet/minecraft/class_5682;method_33287(IIIZLnet/minecraft/class_332;Lnet/minecraft/class_327;)Vofficial aLfpk;a(IIIZLfgz;Lfgx;)V
-
draw
- Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;draw(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/gui/tooltip/BundleTooltipComponent$SlotSprite;)Vintermediary method_33288Lnet/minecraft/class_5682;method_33288(Lnet/minecraft/class_332;IILnet/minecraft/class_5682$class_5771;)Vofficial aLfpk;a(Lfgz;IILfpk$a;)V
-
getColumns
private int getColumns()- Mappings:
Namespace Name Mixin selector named getColumnsLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getColumns()Iintermediary method_33289Lnet/minecraft/class_5682;method_33289()Iofficial dLfpk;d()I
-
getRows
private int getRows()- Mappings:
Namespace Name Mixin selector named getRowsLnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getRows()Iintermediary method_33290Lnet/minecraft/class_5682;method_33290()Iofficial eLfpk;e()I
-