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 ResourceLocation
private static final int
private final NonNullList<ItemStack>
private static final int
private static final int
private static final int
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
private int
private void
blit
(GuiGraphics p_281273_, int p_282428_, int p_281897_, ClientBundleTooltip.Texture p_281917_) int
int
private int
private int
void
renderImage
(Font p_194042_, int p_194043_, int p_194044_, GuiGraphics p_282522_) private void
renderSlot
(int p_283180_, int p_282972_, int p_282547_, boolean p_283053_, GuiGraphics p_283625_, Font p_281863_) 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
-
BACKGROUND_SPRITE
-
MARGIN_Y
private static final int MARGIN_Y- See Also:
-
BORDER_WIDTH
private static final int BORDER_WIDTH- 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
-
backgroundWidth
private int backgroundWidth() -
backgroundHeight
private int backgroundHeight() -
renderImage
- Specified by:
renderImage
in interfaceClientTooltipComponent
-
renderSlot
private void renderSlot(int p_283180_, int p_282972_, int p_282547_, boolean p_283053_, GuiGraphics p_283625_, Font p_281863_) -
blit
private void blit(GuiGraphics p_281273_, int p_282428_, int p_281897_, ClientBundleTooltip.Texture p_281917_) -
gridSizeX
private int gridSizeX() -
gridSizeY
private int gridSizeY()
-