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_276033_, int p_276062_, int p_276063_, ClientBundleTooltip.Texture p_276044_) private void
drawBorder
(int p_276018_, int p_276015_, int p_276048_, int p_276056_, PoseStack p_276019_) int
int
private int
private int
void
renderImage
(Font p_194042_, int p_194043_, int p_194044_, PoseStack p_194045_, ItemRenderer p_194046_) private void
renderSlot
(int p_276034_, int p_276061_, int p_276038_, boolean p_276027_, Font p_276025_, PoseStack p_276020_, ItemRenderer p_276057_) 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_) - Specified by:
renderImage
in interfaceClientTooltipComponent
-
renderSlot
private void renderSlot(int p_276034_, int p_276061_, int p_276038_, boolean p_276027_, Font p_276025_, PoseStack p_276020_, ItemRenderer p_276057_) -
drawBorder
private void drawBorder(int p_276018_, int p_276015_, int p_276048_, int p_276056_, PoseStack p_276019_) -
blit
private void blit(PoseStack p_276033_, int p_276062_, int p_276063_, ClientBundleTooltip.Texture p_276044_) -
gridSizeX
private int gridSizeX() -
gridSizeY
private int gridSizeY()
-