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 int
private NonNullList<ItemStack>
private static int
private static int
private static int
private static int
static ResourceLocation
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
blit(PoseStack p_169894_, int p_169895_, int p_169896_, int p_169897_, TextureManager p_169898_, ClientBundleTooltip.Texture p_169899_)
private void
drawBorder(int p_169876_, int p_169877_, int p_169878_, int p_169879_, PoseStack p_169880_, int p_169881_, TextureManager p_169882_)
int
int
private int
private int
void
renderImage(Font p_169903_, int p_169904_, int p_169905_, PoseStack p_169906_, ItemRenderer p_169907_, int p_169908_, TextureManager p_169909_)
private void
renderSlot(int p_169884_, int p_169885_, int p_169886_, boolean p_169887_, Font p_169888_, PoseStack p_169889_, ItemRenderer p_169890_, int p_169891_, TextureManager p_169892_)
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:
- Constant Field Values
-
BORDER_WIDTH
private static final int BORDER_WIDTH- See Also:
- Constant Field Values
-
TEX_SIZE
private static final int TEX_SIZE- See Also:
- Constant Field Values
-
SLOT_SIZE_X
private static final int SLOT_SIZE_X- See Also:
- Constant Field Values
-
SLOT_SIZE_Y
private static final int SLOT_SIZE_Y- See Also:
- Constant Field Values
-
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_169903_, int p_169904_, int p_169905_, PoseStack p_169906_, ItemRenderer p_169907_, int p_169908_, TextureManager p_169909_)- Specified by:
renderImage
in interfaceClientTooltipComponent
-
renderSlot
private void renderSlot(int p_169884_, int p_169885_, int p_169886_, boolean p_169887_, Font p_169888_, PoseStack p_169889_, ItemRenderer p_169890_, int p_169891_, TextureManager p_169892_) -
drawBorder
private void drawBorder(int p_169876_, int p_169877_, int p_169878_, int p_169879_, PoseStack p_169880_, int p_169881_, TextureManager p_169882_) -
blit
private void blit(PoseStack p_169894_, int p_169895_, int p_169896_, int p_169897_, TextureManager p_169898_, ClientBundleTooltip.Texture p_169899_) -
gridSizeX
private int gridSizeX() -
gridSizeY
private int gridSizeY()
-