Package net.minecraft.client.gui.tooltip
Class BundleTooltipComponent
java.lang.Object
net.minecraft.client.gui.tooltip.BundleTooltipComponent
- All Implemented Interfaces:
TooltipComponent
- Mappings:
Namespace Name official ewo
intermediary net/minecraft/class_5682
named net/minecraft/client/gui/tooltip/BundleTooltipComponent
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private final DefaultedList<ItemStack>
private final int
static final Identifier
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
draw
(DrawContext context, int x, int y, BundleTooltipComponent.Sprite sprite) void
drawItems
(TextRenderer textRenderer, int x, int y, DrawContext context) private void
drawOutline
(int x, int y, int columns, int rows, DrawContext context) private void
drawSlot
(int x, int y, int index, boolean shouldBlock, DrawContext context, TextRenderer textRenderer) private int
int
private int
getRows()
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
drawText
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lewo;a:Lacq;
intermediary field_28359
Lnet/minecraft/class_5682;field_28359:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;TEXTURE:Lnet/minecraft/util/Identifier;
-
field_32381
private static final int field_32381- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lewo;b:I
intermediary field_32381
Lnet/minecraft/class_5682;field_32381:I
named field_32381
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_32381:I
-
field_32382
private static final int field_32382- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lewo;c:I
intermediary field_32382
Lnet/minecraft/class_5682;field_32382:I
named field_32382
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;field_32382:I
-
TEXTURE_SIZE
private static final int TEXTURE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lewo;d:I
intermediary field_32383
Lnet/minecraft/class_5682;field_32383:I
named TEXTURE_SIZE
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;TEXTURE_SIZE:I
-
WIDTH_PER_COLUMN
private static final int WIDTH_PER_COLUMN- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lewo;e:I
intermediary field_32384
Lnet/minecraft/class_5682;field_32384:I
named WIDTH_PER_COLUMN
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;WIDTH_PER_COLUMN:I
-
HEIGHT_PER_ROW
private static final int HEIGHT_PER_ROW- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lewo;f:I
intermediary field_32385
Lnet/minecraft/class_5682;field_32385:I
named HEIGHT_PER_ROW
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;HEIGHT_PER_ROW:I
-
inventory
- Mappings:
Namespace Name Mixin selector official g
Lewo;g:Lhn;
intermediary field_27995
Lnet/minecraft/class_5682;field_27995:Lnet/minecraft/class_2371;
named inventory
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;inventory:Lnet/minecraft/util/collection/DefaultedList;
-
occupancy
private final int occupancy- Mappings:
Namespace Name Mixin selector official h
Lewo;h:I
intermediary field_28360
Lnet/minecraft/class_5682;field_28360:I
named occupancy
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;occupancy:I
-
-
Constructor Details
-
BundleTooltipComponent
- Mappings:
Namespace Name Mixin selector official <init>
Lewo;<init>(Lccx;)V
intermediary <init>
Lnet/minecraft/class_5682;<init>(Lnet/minecraft/class_5631;)V
named <init>
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;<init>(Lnet/minecraft/client/item/BundleTooltipData;)V
-
-
Method Details
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceTooltipComponent
- Mappings:
Namespace Name Mixin selector official a
Lewq;a()I
intermediary method_32661
Lnet/minecraft/class_5684;method_32661()I
named getHeight
Lnet/minecraft/client/gui/tooltip/TooltipComponent;getHeight()I
-
getWidth
- Specified by:
getWidth
in interfaceTooltipComponent
- Mappings:
Namespace Name Mixin selector official a
Lewq;a(Leoh;)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
-
drawItems
- Specified by:
drawItems
in interfaceTooltipComponent
- Mappings:
Namespace Name Mixin selector official a
Lewq;a(Leoh;IILeoj;)V
intermediary method_32666
Lnet/minecraft/class_5684;method_32666(Lnet/minecraft/class_327;IILnet/minecraft/class_332;)V
named drawItems
Lnet/minecraft/client/gui/tooltip/TooltipComponent;drawItems(Lnet/minecraft/client/font/TextRenderer;IILnet/minecraft/client/gui/DrawContext;)V
-
drawSlot
private void drawSlot(int x, int y, int index, boolean shouldBlock, DrawContext context, TextRenderer textRenderer) - Mappings:
Namespace Name Mixin selector official a
Lewo;a(IIIZLeoj;Leoh;)V
intermediary method_33287
Lnet/minecraft/class_5682;method_33287(IIIZLnet/minecraft/class_332;Lnet/minecraft/class_327;)V
named drawSlot
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawSlot(IIIZLnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;)V
-
drawOutline
- Mappings:
Namespace Name Mixin selector official a
Lewo;a(IIIILeoj;)V
intermediary method_33286
Lnet/minecraft/class_5682;method_33286(IIIILnet/minecraft/class_332;)V
named drawOutline
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;drawOutline(IIIILnet/minecraft/client/gui/DrawContext;)V
-
draw
- Mappings:
Namespace Name Mixin selector official a
Lewo;a(Leoj;IILewo$a;)V
intermediary method_33288
Lnet/minecraft/class_5682;method_33288(Lnet/minecraft/class_332;IILnet/minecraft/class_5682$class_5771;)V
named draw
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;draw(Lnet/minecraft/client/gui/DrawContext;IILnet/minecraft/client/gui/tooltip/BundleTooltipComponent$Sprite;)V
-
getColumns
private int getColumns()- Mappings:
Namespace Name Mixin selector official b
Lewo;b()I
intermediary method_33289
Lnet/minecraft/class_5682;method_33289()I
named getColumns
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getColumns()I
-
getRows
private int getRows()- Mappings:
Namespace Name Mixin selector official c
Lewo;c()I
intermediary method_33290
Lnet/minecraft/class_5682;method_33290()I
named getRows
Lnet/minecraft/client/gui/tooltip/BundleTooltipComponent;getRows()I
-