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
(GuiGraphics p_281273_, int p_282428_, int p_281897_, ClientBundleTooltip.Texture p_281917_) private void
drawBorder
(int p_276018_, int p_276015_, int p_276048_, int p_276056_, GuiGraphics p_283218_) 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
-
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
- 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_) -
drawBorder
private void drawBorder(int p_276018_, int p_276015_, int p_276048_, int p_276056_, GuiGraphics p_283218_) -
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()
-