net.minecraft.client.gui.screens.inventory

public abstract class AbstractContainerScreen<T extends AbstractContainerMenu>

extends Screen implements MenuAccess<T>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget, MenuAccess

edp
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.src.C_3624_

Field summary

Modifier and TypeField
public static final ResourceLocation
a
INVENTORY_LOCATION
field_2801
f_fevmuhfe
BACKGROUND_TEXTURE
f_97725_
private static final float
z
SNAPBACK_SPEED
field_32318
f_ywkpujrm
field_32318
f_169605_
private static final int
A
QUICKDROP_DELAY
field_32319
f_cuanbcay
field_32319
f_169600_
private static final int
B
DOUBLECLICK_SPEED
field_32320
f_dsoskuhu
DOUBLE_CLICK_TIMEOUT
f_169601_
public static final int
b
SLOT_ITEM_BLIT_OFFSET
field_32322
f_cudaruhf
field_32322
f_169603_
private static final int
C
HOVER_ITEM_BLIT_OFFSET
field_32321
f_rqeclttg
field_32321
f_169602_
protected int
c
imageWidth
field_2792
f_nnzlngmx
backgroundWidth
f_97726_
protected int
n
imageHeight
field_2779
f_exfjdmjc
backgroundHeight
f_97727_
protected int
o
titleLabelX
field_25267
f_yyfihbzl
titleX
f_97728_
protected int
p
titleLabelY
field_25268
f_ngwjsvvv
titleY
f_97729_
protected int
q
inventoryLabelX
field_25269
f_jfbzrbvq
playerInventoryTitleX
f_97730_
protected int
r
inventoryLabelY
field_25270
f_hsgymhvv
playerInventoryTitleY
f_97731_
protected final T
s
menu
field_2797
f_fcdkvucs
handler
f_97732_
protected final Component
t
playerInventoryTitle
field_29347
f_myibgkmf
playerInventoryTitle
f_169604_
protected Slot
u
hoveredSlot
field_2787
f_qdszuymx
focusedSlot
f_97734_
private Slot
D
clickedSlot
field_2777
f_tqcrecah
touchDragSlotStart
f_97706_
private Slot
E
snapbackEnd
field_2802
f_ifcvxbjq
touchDropOriginSlot
f_97707_
private Slot
F
quickdropSlot
field_2780
f_eboiopem
touchHoveredSlot
f_97708_
private Slot
G
lastClickSlot
field_2799
f_cosvnlvl
lastClickedSlot
f_97709_
protected int
v
leftPos
field_2776
f_fvehpsdt
x
f_97735_
protected int
w
topPos
field_2800
f_dipcbwmj
y
f_97736_
private boolean
H
isSplittingStack
field_2789
f_hhaugdtq
touchIsRightClickDrag
f_97710_
private ItemStack
I
draggingItem
field_2782
f_kfrywqhx
touchDragStack
f_97711_
private int
J
snapbackStartX
field_2784
f_sogupqfx
touchDropX
f_97712_
private int
K
snapbackStartY
field_2796
f_onhqpiax
touchDropY
f_97713_
private long
L
snapbackTime
field_2795
f_ungywyhx
touchDropTime
f_97714_
private ItemStack
M
snapbackItem
field_2785
f_wjuosaan
touchDropReturningStack
f_97715_
private long
N
quickdropTime
field_2781
f_mizdkgtp
touchDropTimer
f_97716_
protected final Set<Slot>
x
quickCraftSlots
field_2793
f_ozkbqkty
cursorDragSlots
f_97737_
protected boolean
y
isQuickCrafting
field_2794
f_tdmywybh
cursorDragging
f_97738_
private int
O
quickCraftingType
field_2790
f_larkxlhn
heldButtonType
f_97717_
private int
P
quickCraftingButton
field_2778
f_wxpczinj
heldButtonCode
f_97718_
private boolean
Q
skipNextRelease
field_2798
f_haajolfq
cancelNextRelease
f_97719_
private int
R
quickCraftingRemainder
field_2803
f_zxhppytr
draggedStackRemainder
f_97720_
private long
S
lastClickTime
field_2788
f_bhhdfbtt
lastButtonClickTime
f_97721_
private int
T
lastClickButton
field_2786
f_hcgjnipj
lastClickedButton
f_97722_
private boolean
U
doubleclick
field_2783
f_gbfougoi
doubleClicking
f_97723_
private ItemStack
V
lastQuickMoved
field_2791
f_kzgibxpu
quickMovingStack
f_97724_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
b()
init()
method_25426()
m_xaqeivsh()
init()
m_7856_()
public void
a(dsj arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
m_exyypwjw(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_97796_, int p_97797_, int p_97798_, float arg3)
public static void
a(dsj arg0, int arg1, int arg2, int arg3)
renderSlotHighlight(PoseStack arg0, int arg1, int arg2, int arg3)
method_33285(class_4587 arg0, int arg1, int arg2, int arg3)
m_lknfeixn(C_cnszsxvd arg0, int arg1, int arg2, int arg3)
drawSlotHighlight(MatrixStack matrices, int x, int y, int z)
m_169606_(C_3181_ p_169607_, int p_169608_, int p_169609_, int p_169610_)
protected void
a(dsj arg0, int arg1, int arg2)
renderTooltip(PoseStack arg0, int arg1, int arg2)
method_2380(class_4587 arg0, int arg1, int arg2)
m_grarlstl(C_cnszsxvd arg0, int arg1, int arg2)
drawMouseoverTooltip(MatrixStack matrices, int x, int y)
m_7025_(C_3181_ p_97792_, int p_97793_, int arg2)
private void
a(bue arg0, int arg1, int arg2, String arg3)
renderFloatingItem(ItemStack arg0, int arg1, int arg2, String arg3)
method_2382(class_1799 arg0, int arg1, int arg2, String arg3)
m_edqlkxoi(C_sddaxwyk arg0, int arg1, int arg2, String arg3)
drawItem(ItemStack stack, int x, int y, String amountText)
m_97782_(C_1391_ p_97784_, int p_97785_, int p_97786_, String arg3)
protected void
b(dsj arg0, int arg1, int arg2)
renderLabels(PoseStack arg0, int arg1, int arg2)
method_2388(class_4587 arg0, int arg1, int arg2)
m_lypenorc(C_cnszsxvd arg0, int arg1, int arg2)
drawForeground(MatrixStack matrices, int mouseX, int mouseY)
m_7027_(C_3181_ p_97809_, int p_97810_, int arg2)
protected abstract void
a(dsj arg0, float arg1, int arg2, int arg3)
renderBg(PoseStack arg0, float arg1, int arg2, int arg3)
method_2389(class_4587 arg0, float arg1, int arg2, int arg3)
m_plsdjslm(C_cnszsxvd arg0, float arg1, int arg2, int arg3)
drawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY)
m_7286_(C_3181_ p_97788_, float p_97789_, int p_97790_, int arg3)
private void
a(dsj arg0, bro arg1)
renderSlot(PoseStack arg0, Slot arg1)
method_2385(class_4587 arg0, class_1735 arg1)
m_zioswvnu(C_cnszsxvd arg0, C_nhvqfffd arg1)
drawSlot(MatrixStack matrices, Slot slot)
m_97799_(C_3181_ p_97801_, C_1305_ arg1)
private void
y()
recalculateQuickCraftRemaining()
method_2379()
m_zfnzxtan()
calculateOffset()
m_97818_()
private Slot
a(double arg0, double arg1)
findSlot(double arg0, double arg1)
method_2386(double arg0, double arg1)
m_ocyatgfb(double arg0, double arg1)
getSlotAt(double x, double y)
m_97744_(double p_97746_, double arg1)
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)
m_6375_(double p_97749_, double arg1, int arg2)
private void
a(int arg0)
checkHotbarMouseClicked(int arg0)
method_30107(int arg0)
m_lheogvss(int arg0)
onMouseClick(int button)
m_97762_(int arg0)
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)
m_7467_(double p_97758_, double p_97760_, int arg2, int arg3, int arg4)
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)
m_7979_(double p_97753_, double p_97755_, int arg2, double arg3, double arg4)
public boolean
c(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)
m_6348_(double p_97813_, double arg1, int arg2)
private boolean
a(bro 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)
m_97774_(C_1305_ p_97776_, double p_97777_, double arg2)
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)
m_6774_(int p_97769_, int p_97770_, int p_97771_, int p_97772_, double p_97773_, double arg5)
protected void
a(bro arg0, int arg1, int arg2, bqg 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)
m_6597_(C_1305_ p_97779_, int p_97780_, int p_97781_, C_1245_ arg3)
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)
m_7933_(int p_97766_, int p_97767_, 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)
m_97805_(int p_97807_, int arg1)
public void
e()
removed()
method_25432()
m_awpofqnh()
removed()
m_7861_()
public boolean
ah_()
isPauseScreen()
method_25421()
m_acdaclus()
isPauseScreen()
m_7043_()
public final void
d()
tick()
method_25393()
m_ndigxngy()
tick()
m_96624_()
protected void
h()
containerTick()
method_37432()
m_mxaxcodb()
handledScreenTick()
m_181908_()
public T
v()
getMenu()
method_17577()
m_lknpkqbd()
getScreenHandler()
m_6262_()
public void
ag_()
onClose()
method_25419()
m_tevgoglb()
onClose()
m_7379_()