net.minecraft.client.gui.screens.inventory.tooltip

public class ClientBundleTooltip

implements ClientTooltipComponent

fwg
net.minecraft.client.gui.screens.inventory.tooltip.ClientBundleTooltip
net.minecraft.class_5682
net.minecraft.client.gui.tooltip.BundleTooltipComponent

Field summary

Modifier and TypeField
private static final ResourceLocation
a
PROGRESSBAR_BORDER_SPRITE
field_52812
BUNDLE_PROGRESS_BAR_BORDER_TEXTURE
private static final ResourceLocation
b
PROGRESSBAR_FILL_SPRITE
field_54011
BUNDLE_PROGRESS_BAR_FILL_TEXTURE
private static final ResourceLocation
c
PROGRESSBAR_FULL_SPRITE
field_54012
BUNDLE_PROGRESS_BAR_FULL_TEXTURE
private static final ResourceLocation
d
SLOT_HIGHLIGHT_BACK_SPRITE
field_54270
BUNDLE_SLOT_HIGHLIGHT_BACK_TEXTURE
private static final ResourceLocation
e
SLOT_HIGHLIGHT_FRONT_SPRITE
field_54271
BUNDLE_SLOT_HIGHLIGHT_FRONT_TEXTURE
private static final ResourceLocation
f
SLOT_BACKGROUND_SPRITE
field_54972
BUNDLE_SLOT_BACKGROUND_TEXTURE
private static final int
g
SLOT_MARGIN
field_52813
SLOTS_PER_ROW
private static final int
h
SLOT_SIZE
field_52814
SLOT_DIMENSION
private static final int
i
GRID_WIDTH
field_52815
ROW_WIDTH
private static final int
j
PROGRESSBAR_HEIGHT
field_52816
field_52816
private static final int
k
PROGRESSBAR_WIDTH
field_52817
field_52817
private static final int
l
PROGRESSBAR_BORDER
field_52818
field_52818
private static final int
m
PROGRESSBAR_FILL_MAX
field_52819
PROGRESS_BAR_WIDTH
private static final int
n
PROGRESSBAR_MARGIN_Y
field_52820
field_52820
private static final Component
o
BUNDLE_FULL_TEXT
field_52821
BUNDLE_FULL
private static final Component
p
BUNDLE_EMPTY_TEXT
field_52822
BUNDLE_EMPTY
private static final Component
q
BUNDLE_EMPTY_DESCRIPTION
field_52823
BUNDLE_EMPTY_DESCRIPTION
private final BundleContents
r
contents
field_49537
bundleContents

Constructor summary

ModifierConstructor
public (BundleContents bundleContents)

Method summary

Modifier and TypeMethod
public int
a(fnq arg0)
getHeight(Font arg0)
method_32661(class_327 arg0)
getHeight(TextRenderer arg0)
public int
b(fnq arg0)
getWidth(Font arg0)
method_32664(class_327 arg0)
getWidth(TextRenderer arg0)
public boolean
a()
showTooltipWithItemInHand()
method_62003()
isSticky()
private static int
c(fnq arg0)
getEmptyBundleBackgroundHeight(Font arg0)
method_62016(class_327 arg0)
getHeightOfEmpty(TextRenderer textRenderer)
private int
b()
backgroundHeight()
method_52756()
getHeightOfNonEmpty()
private int
c()
itemGridHeight()
method_62015()
getRowsHeight()
private int
a(int arg0)
getContentXOffset(int arg0)
method_63508(int arg0)
getXMargin(int width)
private int
d()
gridSizeY()
method_33290()
getRows()
private int
e()
slotCount()
method_62019()
getNumVisibleSlots()
public void
a(fnq arg0, int arg1, int arg2, int arg3, int arg4, fns arg5)
renderImage(Font arg0, int arg1, int arg2, int arg3, int arg4, GuiGraphics arg5)
method_32666(class_327 arg0, int arg1, int arg2, int arg3, int arg4, class_332 arg5)
drawItems(TextRenderer arg0, int arg1, int arg2, int arg3, int arg4, DrawContext arg5)
private void
b(fnq arg0, int arg1, int arg2, int arg3, int arg4, fns arg5)
renderEmptyBundleTooltip(Font arg0, int arg1, int arg2, int arg3, int arg4, GuiGraphics arg5)
method_62014(class_327 arg0, int arg1, int arg2, int arg3, int arg4, class_332 arg5)
drawEmptyTooltip(TextRenderer textRenderer, int x, int y, int width, int height, DrawContext context)
private void
c(fnq arg0, int arg1, int arg2, int arg3, int arg4, fns arg5)
renderBundleWithItemsTooltip(Font arg0, int arg1, int arg2, int arg3, int arg4, GuiGraphics arg5)
method_62017(class_327 arg0, int arg1, int arg2, int arg3, int arg4, class_332 arg5)
drawNonEmptyTooltip(TextRenderer textRenderer, int x, int y, int width, int height, DrawContext context)
private List<ItemStack>
b(int arg0)
getShownItems(int arg0)
method_62004(int arg0)
firstStacksInContents(int numberOfStacksShown)
private static boolean
a(boolean arg0, int arg1, int arg2)
shouldRenderSurplusText(boolean arg0, int arg1, int arg2)
method_62012(boolean arg0, int arg1, int arg2)
shouldDrawExtraItemsCount(boolean hasMoreItems, int column, int row)
private static boolean
a(List<cxp> arg0, int arg1)
shouldRenderItemSlot(List<ItemStack> arg0, int arg1)
method_62011(List<class_1799> arg0, int arg1)
shouldDrawItem(List<ItemStack> items, int itemIndex)
private int
a(List<cxp> arg0)
getAmountOfHiddenItems(List<ItemStack> arg0)
method_62010(List<class_1799> arg0)
numContentItemsAfter(List<ItemStack> items)
private void
a(int arg0, int arg1, int arg2, List<cxp> arg3, int arg4, fnq arg5, fns arg6)
renderSlot(int arg0, int arg1, int arg2, List<ItemStack> arg3, int arg4, Font arg5, GuiGraphics arg6)
method_62006(int arg0, int arg1, int arg2, List<class_1799> arg3, int arg4, class_327 arg5, class_332 arg6)
drawItem(int index, int x, int y, List<ItemStack> stacks, int seed, TextRenderer textRenderer, DrawContext drawContext)
private static void
a(int arg0, int arg1, int arg2, fnq arg3, fns arg4)
renderCount(int arg0, int arg1, int arg2, Font arg3, GuiGraphics arg4)
method_62005(int arg0, int arg1, int arg2, class_327 arg3, class_332 arg4)
drawExtraItemsCount(int x, int y, int numExtra, TextRenderer textRenderer, DrawContext drawContext)
private void
a(fnq arg0, fns arg1, int arg2, int arg3, int arg4)
drawSelectedItemTooltip(Font arg0, GuiGraphics arg1, int arg2, int arg3, int arg4)
method_62009(class_327 arg0, class_332 arg1, int arg2, int arg3, int arg4)
drawSelectedItemTooltip(TextRenderer textRenderer, DrawContext drawContext, int x, int y, int width)
private void
a(int arg0, int arg1, fnq arg2, fns arg3)
drawProgressbar(int arg0, int arg1, Font arg2, GuiGraphics arg3)
method_62007(int arg0, int arg1, class_327 arg2, class_332 arg3)
drawProgressBar(int x, int y, TextRenderer textRenderer, DrawContext drawContext)
private static void
b(int arg0, int arg1, fnq arg2, fns arg3)
drawEmptyBundleDescriptionText(int arg0, int arg1, Font arg2, GuiGraphics arg3)
method_62013(int arg0, int arg1, class_327 arg2, class_332 arg3)
drawEmptyDescription(int x, int y, TextRenderer textRenderer, DrawContext drawContext)
private static int
d(fnq arg0)
getEmptyBundleDescriptionTextHeight(Font arg0)
method_62018(class_327 arg0)
getDescriptionHeight(TextRenderer textRenderer)
private int
f()
getProgressBarFill()
method_62020()
getProgressBarFill()
private ResourceLocation
g()
getProgressBarTexture()
method_63509()
getProgressBarFillTexture()
private Component
h()
getProgressBarFillText()
method_62021()
getProgressBarLabel()