net.minecraft.client.gui.screens.inventory

public abstract class AbstractContainerScreen<T extends AbstractContainerMenu>

extends Screen implements MenuAccess<T>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, MenuAccess

fyq
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
net.minecraft.class_465
net.minecraft.unmapped.C_gwivrcyr
net.minecraft.client.gui.screen.ingame.HandledScreen
net.minecraft.client.gui.screen.ingame.HandledScreen

Field summary

Modifier and TypeField
public static final ResourceLocation
a
INVENTORY_LOCATION
field_2801
f_fevmuhfe
BACKGROUND_TEXTURE
BACKGROUND_TEXTURE
private static final ResourceLocation
G
SLOT_HIGHLIGHT_BACK_SPRITE
field_54268
f_phxxfqlj
SLOT_HIGHLIGHT_BACK_TEXTURE
private static final ResourceLocation
H
SLOT_HIGHLIGHT_FRONT_SPRITE
field_54269
f_rlgrdzva
SLOT_HIGHLIGHT_FRONT_TEXTURE
protected static final int
b
BACKGROUND_TEXTURE_WIDTH
field_52802
f_rgisewai
field_52802
protected static final int
c
BACKGROUND_TEXTURE_HEIGHT
field_52803
f_abarbezl
field_52803
private static final float
I
SNAPBACK_SPEED
field_32318
f_ywkpujrm
field_32318
TOUCH_DROP_SPEED
private static final int
J
QUICKDROP_DELAY
field_32319
f_cuanbcay
field_32319
TOUCH_HOVERED_DELAY
public static final int
d
SLOT_ITEM_BLIT_OFFSET
field_32322
f_cudaruhf
field_32322
SLOT_ITEM_BLIT_OFFSET
private static final int
K
HOVER_ITEM_BLIT_OFFSET
field_32321
f_rqeclttg
field_32321
HOVER_ITEM_BLIT_OFFSET
protected int
s
imageWidth
field_2792
f_nnzlngmx
backgroundWidth
backgroundWidth
protected int
u
imageHeight
field_2779
f_exfjdmjc
backgroundHeight
backgroundHeight
protected int
v
titleLabelX
field_25267
f_yyfihbzl
titleX
titleX
protected int
w
titleLabelY
field_25268
f_ngwjsvvv
titleY
titleY
protected int
x
inventoryLabelX
field_25269
f_jfbzrbvq
playerInventoryTitleX
playerInventoryTitleX
protected int
y
inventoryLabelY
field_25270
f_hsgymhvv
playerInventoryTitleY
playerInventoryTitleY
private final List<ItemSlotMouseAction>
L
itemSlotMouseActions
field_52801
f_pxdavgfk
tooltipSubmenuHandlers
protected final T
z
menu
field_2797
f_fcdkvucs
handler
handler
protected final Component
A
playerInventoryTitle
field_29347
f_myibgkmf
playerInventoryTitle
playerInventoryTitle
protected Slot
B
hoveredSlot
field_2787
f_qdszuymx
focusedSlot
focusedSlot
private Slot
M
clickedSlot
field_2777
f_tqcrecah
touchDragSlotStart
touchDragSlotStart
private Slot
N
snapbackEnd
field_2802
f_ifcvxbjq
touchDropOriginSlot
touchDropOriginSlot
private Slot
O
quickdropSlot
field_2780
f_eboiopem
touchHoveredSlot
touchHoveredSlot
private Slot
P
lastClickSlot
field_2799
f_cosvnlvl
lastClickedSlot
lastClickedSlot
protected int
C
leftPos
field_2776
f_fvehpsdt
x
x
protected int
D
topPos
field_2800
f_dipcbwmj
y
y
private boolean
Q
isSplittingStack
field_2789
f_hhaugdtq
touchIsRightClickDrag
touchIsRightClickDrag
private ItemStack
R
draggingItem
field_2782
f_kfrywqhx
touchDragStack
touchDragStack
private int
S
snapbackStartX
field_2784
f_sogupqfx
touchDropX
touchDropX
private int
T
snapbackStartY
field_2796
f_onhqpiax
touchDropY
touchDropY
private long
U
snapbackTime
field_2795
f_ungywyhx
touchDropTime
touchDropTime
private ItemStack
V
snapbackItem
field_2785
f_wjuosaan
touchDropReturningStack
touchDropReturningStack
private long
W
quickdropTime
field_2781
f_mizdkgtp
touchDropTimer
touchDropTimer
protected final Set<Slot>
E
quickCraftSlots
field_2793
f_ozkbqkty
cursorDragSlots
cursorDragSlots
protected boolean
F
isQuickCrafting
field_2794
f_tdmywybh
cursorDragging
cursorDragging
private int
X
quickCraftingType
field_2790
f_larkxlhn
heldButtonType
heldButtonType
private int
Y
quickCraftingButton
field_2778
f_wxpczinj
heldButtonCode
heldButtonCode
private boolean
Z
skipNextRelease
field_2798
f_haajolfq
cancelNextRelease
cancelNextRelease
private int
aa
quickCraftingRemainder
field_2803
f_zxhppytr
draggedStackRemainder
draggedStackRemainder
private long
ab
lastClickTime
field_2788
f_bhhdfbtt
lastButtonClickTime
lastButtonClickTime
private int
ac
lastClickButton
field_2786
f_hcgjnipj
lastClickedButton
lastClickedButton
private boolean
ad
doubleclick
field_2783
f_gbfougoi
doubleClicking
doubleClicking
private ItemStack
ae
lastQuickMoved
field_2791
f_kzgibxpu
quickMovingStack
quickMovingStack

Constructor summary

ModifierConstructor
public (T handler, Inventory inventory, Component title)

Method summary

Modifier and TypeMethod
protected void
aO_()
init()
method_25426()
m_xaqeivsh()
init()
init()
protected void
a(frx arg0)
addItemSlotMouseAction(ItemSlotMouseAction arg0)
method_62000(class_9930 arg0)
m_njwwgpir(C_uobrxobx arg0)
addTooltipSubmenuHandler(TooltipSubmenuHandler handler)
public void
a(frv arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
protected void
c(frv arg0)
renderSlots(GuiGraphics arg0)
method_64508(class_332 arg0)
m_wynqknmp(C_sedilmty arg0)
drawSlots(DrawContext context)
m_wynqknmp(GuiGraphics graphics)
public void
b(frv arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
public boolean
a(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
method_25401(double arg0, double arg1, double arg2, double arg3)
m_ztjwzdkn(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
private void
d(frv arg0)
renderSlotHighlightBack(GuiGraphics arg0)
method_64241(class_332 arg0)
m_umoympnh(C_sedilmty arg0)
drawSlotHighlightBack(DrawContext context)
m_umoympnh(GuiGraphics graphics)
private void
e(frv arg0)
renderSlotHighlightFront(GuiGraphics arg0)
method_64242(class_332 arg0)
m_wdifmoup(C_sedilmty arg0)
drawSlotHighlightFront(DrawContext context)
m_wdifmoup(GuiGraphics graphics)
protected void
a(frv arg0, int arg1, int arg2)
renderTooltip(GuiGraphics arg0, int arg1, int arg2)
method_2380(class_332 arg0, int arg1, int arg2)
m_grarlstl(C_sedilmty arg0, int arg1, int arg2)
drawMouseoverTooltip(DrawContext drawContext, int x, int y)
drawMouseoverTooltip(GuiGraphics graphics, int x, int y)
private boolean
b(czd arg0)
showTooltipWithItemInHand(ItemStack arg0)
method_62001(class_1799 arg0)
m_qqrfejoz(C_sddaxwyk arg0)
isItemTooltipSticky(ItemStack item)
m_qqrfejoz(ItemStack stack)
protected List<Component>
a(czd arg0)
getTooltipFromContainerItem(ItemStack arg0)
method_51454(class_1799 arg0)
m_alczadgs(C_sddaxwyk arg0)
getTooltipFromItem(ItemStack stack)
getTooltip(ItemStack stack)
private void
a(frv arg0, czd arg1, int arg2, int arg3, String arg4)
renderFloatingItem(GuiGraphics arg0, ItemStack arg1, int arg2, int arg3, String arg4)
method_2382(class_332 arg0, class_1799 arg1, int arg2, int arg3, String arg4)
m_edqlkxoi(C_sedilmty arg0, C_sddaxwyk arg1, int arg2, int arg3, String arg4)
drawItem(DrawContext context, ItemStack stack, int x, int y, String amountText)
drawItem(GuiGraphics graphics, ItemStack stack, int x, int y, String amountText)
protected void
b(frv arg0, int arg1, int arg2)
renderLabels(GuiGraphics arg0, int arg1, int arg2)
method_2388(class_332 arg0, int arg1, int arg2)
m_lypenorc(C_sedilmty arg0, int arg1, int arg2)
drawForeground(DrawContext context, int mouseX, int mouseY)
drawForeground(GuiGraphics graphics, int mouseX, int mouseY)
protected abstract void
a(frv arg0, float arg1, int arg2, int arg3)
renderBg(GuiGraphics arg0, float arg1, int arg2, int arg3)
method_2389(class_332 arg0, float arg1, int arg2, int arg3)
m_plsdjslm(C_sedilmty arg0, float arg1, int arg2, int arg3)
drawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY)
drawBackground(GuiGraphics graphics, float arg1, int arg2, int arg3)
protected void
a(frv arg0, cws arg1)
renderSlot(GuiGraphics arg0, Slot arg1)
method_2385(class_332 arg0, class_1735 arg1)
m_zioswvnu(C_sedilmty arg0, C_nhvqfffd arg1)
drawSlot(DrawContext context, Slot slot)
drawSlot(GuiGraphics graphics, Slot slot)
private void
G()
recalculateQuickCraftRemaining()
method_2379()
m_zfnzxtan()
calculateOffset()
calculateOffset()
private Slot
b(double arg0, double arg1)
getHoveredSlot(double arg0, double arg1)
method_64240(double arg0, double arg1)
m_sfjbamaw(double arg0, double arg1)
getSlotAt(double mouseX, double mouseY)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
private void
a(int arg0)
checkHotbarMouseClicked(int arg0)
method_30107(int arg0)
m_lheogvss(int arg0)
onMouseClick(int button)
onMouseClick(int button)
protected boolean
a(double arg0, double arg1, int arg2, int arg3, int arg4)
hasClickedOutside(double arg0, double arg1, int arg2, int arg3, int arg4)
method_2381(double arg0, double arg1, int arg2, int arg3, int arg4)
m_nemptfst(double arg0, double arg1, int arg2, int arg3, int arg4)
isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button)
isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
m_shbmcoxj(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
b(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
m_vygbkdkf(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
public void
m()
clearDraggingState()
method_44339()
m_zscypxpo()
endTouchDrag()
resetDraggingState()
private boolean
a(cws arg0, double arg1, double arg2)
isHovering(Slot arg0, double arg1, double arg2)
method_2387(class_1735 arg0, double arg1, double arg2)
m_cwxxnnun(C_nhvqfffd arg0, double arg1, double arg2)
isPointOverSlot(Slot slot, double pointX, double pointY)
isPointOverSlot(Slot slot, double pointX, double pointY)
protected boolean
a(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
isHovering(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
method_2378(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
m_xpbwlfnh(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
isPointWithinBounds(int x, int y, int width, int height, double pointX, double pointY)
isPointWithinBounds(int x, int y, int width, int height, double pointX, double pointY)
private void
a(cws arg0)
onStopHovering(Slot arg0)
method_61998(class_1735 arg0)
m_cqycudfs(C_nhvqfffd arg0)
resetTooltipSubmenus(Slot slot)
protected void
a(cws arg0, int arg1, int arg2, cvg arg3)
slotClicked(Slot arg0, int arg1, int arg2, ClickType arg3)
method_2383(class_1735 arg0, int arg1, int arg2, class_1713 arg3)
m_cytvygkr(C_nhvqfffd arg0, int arg1, int arg2, C_viureuve arg3)
onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)
onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)
void
a(cws arg0, cvg arg1)
onMouseClickAction(Slot arg0, ClickType arg1)
method_64239(class_1735 arg0, class_1713 arg1)
m_elolvigb(C_nhvqfffd arg0, C_viureuve arg1)
onMouseClick(Slot slot, SlotActionType actionType)
protected void
a(int arg0, int arg1, boolean arg2)
handleSlotStateChanged(int arg0, int arg1, boolean arg2)
method_54590(int arg0, int arg1, boolean arg2)
m_icmehgsj(int arg0, int arg1, boolean arg2)
onSlotChangedState(int slotId, int handlerId, boolean newState)
onSlotChangedState(int slotId, int containerId, boolean newState)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
protected boolean
a(int arg0, int arg1)
checkHotbarKeyPressed(int arg0, int arg1)
method_2384(int arg0, int arg1)
m_alegpujk(int arg0, int arg1)
handleHotbarKeyPressed(int keyCode, int scanCode)
handleHotbarKeyPressed(int keyCode, int scanCode)
public void
aF_()
removed()
method_25432()
m_awpofqnh()
removed()
removed()
public boolean
k()
isPauseScreen()
method_25421()
m_acdaclus()
shouldPause()
isPauseScreen()
public final void
e()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
protected void
E()
containerTick()
method_37432()
m_mxaxcodb()
handledScreenTick()
handledScreenTick()
public T
F()
getMenu()
method_17577()
m_lknpkqbd()
getScreenHandler()
getScreenHandler()
public void
aL_()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()