Class ClientBundleTooltip
java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.ClientBundleTooltip
- All Implemented Interfaces:
ClientTooltipComponent
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final NonNullList<ItemStack>
private static final int
private static final int
private static final int
private static final int
static final ResourceLocation
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
blit
(PoseStack p_194036_, int p_194037_, int p_194038_, int p_194039_, ClientBundleTooltip.Texture p_194040_) private void
drawBorder
(int p_194020_, int p_194021_, int p_194022_, int p_194023_, PoseStack p_194024_, int p_194025_) int
int
private int
private int
void
renderImage
(Font p_194042_, int p_194043_, int p_194044_, PoseStack p_194045_, ItemRenderer p_194046_, int p_194047_) private void
renderSlot
(int p_194027_, int p_194028_, int p_194029_, boolean p_194030_, Font p_194031_, PoseStack p_194032_, ItemRenderer p_194033_, int p_194034_) 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.screens.inventory.tooltip.ClientTooltipComponent
renderText
-
Field Details
-
TEXTURE_LOCATION
-
MARGIN_Y
private static final int MARGIN_Y- See Also:
-
BORDER_WIDTH
private static final int BORDER_WIDTH- See Also:
-
TEX_SIZE
private static final int TEX_SIZE- See Also:
-
SLOT_SIZE_X
private static final int SLOT_SIZE_X- See Also:
-
SLOT_SIZE_Y
private static final int SLOT_SIZE_Y- See Also:
-
items
-
weight
private final int weight
-
-
Constructor Details
-
ClientBundleTooltip
-
-
Method Details
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceClientTooltipComponent
-
getWidth
- Specified by:
getWidth
in interfaceClientTooltipComponent
-
renderImage
public void renderImage(Font p_194042_, int p_194043_, int p_194044_, PoseStack p_194045_, ItemRenderer p_194046_, int p_194047_) - Specified by:
renderImage
in interfaceClientTooltipComponent
-
renderSlot
private void renderSlot(int p_194027_, int p_194028_, int p_194029_, boolean p_194030_, Font p_194031_, PoseStack p_194032_, ItemRenderer p_194033_, int p_194034_) -
drawBorder
private void drawBorder(int p_194020_, int p_194021_, int p_194022_, int p_194023_, PoseStack p_194024_, int p_194025_) -
blit
private void blit(PoseStack p_194036_, int p_194037_, int p_194038_, int p_194039_, ClientBundleTooltip.Texture p_194040_) -
gridSizeX
private int gridSizeX() -
gridSizeY
private int gridSizeY()
-