net.minecraft.client.gui.screens.inventory

public abstract class AbstractContainerScreen<T extends AbstractContainerMenu>

extends Screen implements MenuAccess<T>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TickableWidget, Widget, MenuAccess

drn
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
net.minecraft.class_465
net.minecraft.client.gui.screen.ingame.HandledScreen
net.minecraft.client.gui.screen.inventory.ContainerScreen

Field summary

Modifier and TypeField
public static final ResourceLocation
a
INVENTORY_LOCATION
field_2801
BACKGROUND_TEXTURE
field_147001_a
protected int
b
imageWidth
field_2792
backgroundWidth
field_146999_f
protected int
c
imageHeight
field_2779
backgroundHeight
field_147000_g
protected int
p
titleLabelX
field_25267
titleX
field_238742_p_
protected int
q
titleLabelY
field_25268
titleY
field_238743_q_
protected int
r
inventoryLabelX
field_25269
playerInventoryTitleX
field_238744_r_
protected int
s
inventoryLabelY
field_25270
playerInventoryTitleY
field_238745_s_
protected final T
t
menu
field_2797
handler
field_147002_h
protected final Inventory
u
inventory
field_17410
playerInventory
field_213127_e
protected Slot
v
hoveredSlot
field_2787
focusedSlot
field_147006_u
private Slot
A
clickedSlot
field_2777
touchDragSlotStart
field_147005_v
private Slot
B
snapbackEnd
field_2802
touchDropOriginSlot
field_146989_A
private Slot
C
quickdropSlot
field_2780
touchHoveredSlot
field_146985_D
private Slot
D
lastClickSlot
field_2799
lastClickedSlot
field_146998_K
protected int
w
leftPos
field_2776
x
field_147003_i
protected int
x
topPos
field_2800
y
field_147009_r
private boolean
E
isSplittingStack
field_2789
touchIsRightClickDrag
field_147004_w
private ItemStack
F
draggingItem
field_2782
touchDragStack
field_147012_x
private int
G
snapbackStartX
field_2784
touchDropX
field_147011_y
private int
H
snapbackStartY
field_2796
touchDropY
field_147010_z
private long
I
snapbackTime
field_2795
touchDropTime
field_146990_B
private ItemStack
J
snapbackItem
field_2785
touchDropReturningStack
field_146991_C
private long
K
quickdropTime
field_2781
touchDropTimer
field_146986_E
protected final Set<Slot>
y
quickCraftSlots
field_2793
cursorDragSlots
field_147008_s
protected boolean
z
isQuickCrafting
field_2794
isCursorDragging
field_147007_t
private int
L
quickCraftingType
field_2790
heldButtonType
field_146987_F
private int
M
quickCraftingButton
field_2778
heldButtonCode
field_146988_G
private boolean
N
skipNextRelease
field_2798
cancelNextRelease
field_146995_H
private int
O
quickCraftingRemainder
field_2803
draggedStackRemainder
field_146996_I
private long
P
lastClickTime
field_2788
lastButtonClickTime
field_146997_J
private int
Q
lastClickButton
field_2786
lastClickedButton
field_146992_L
private boolean
R
doubleclick
field_2783
isDoubleClicking
field_146993_M
private ItemStack
S
lastQuickMoved
field_2791
quickMovingStack
field_146994_N

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
b()
init()
method_25426()
init()
func_231160_c_()
public void
a(dhl 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)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
protected void
a(dhl arg0, int arg1, int arg2)
renderTooltip(PoseStack arg0, int arg1, int arg2)
method_2380(class_4587 arg0, int arg1, int arg2)
drawMouseoverTooltip(MatrixStack matrices, int x, int y)
func_230459_a_(MatrixStack arg0, int arg1, int arg2)
private void
a(bki 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)
drawItem(ItemStack stack, int xPosition, int yPosition, String amountText)
func_146982_a(ItemStack arg0, int arg1, int arg2, String arg3)
protected void
b(dhl arg0, int arg1, int arg2)
renderLabels(PoseStack arg0, int arg1, int arg2)
method_2388(class_4587 arg0, int arg1, int arg2)
drawForeground(MatrixStack matrices, int mouseX, int mouseY)
func_230451_b_(MatrixStack arg0, int arg1, int arg2)
protected abstract void
a(dhl 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)
drawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY)
func_230450_a_(MatrixStack arg0, float arg1, int arg2, int arg3)
private void
a(dhl arg0, bhw arg1)
renderSlot(PoseStack arg0, Slot arg1)
method_2385(class_4587 arg0, class_1735 arg1)
drawSlot(MatrixStack matrices, Slot slot)
func_238746_a_(MatrixStack arg0, Slot arg1)
private void
m()
recalculateQuickCraftRemaining()
method_2379()
calculateOffset()
func_146980_g()
private Slot
a(double arg0, double arg1)
findSlot(double arg0, double arg1)
method_2386(double arg0, double arg1)
getSlotAt(double xPosition, double yPosition)
func_195360_a(double arg0, 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)
mouseClicked(double arg0, double arg1, int arg2)
func_231044_a_(double arg0, double arg1, int arg2)
private void
a(int arg0)
checkHotbarMouseClicked(int arg0)
method_30107(int arg0)
method_30107(int arg0)
func_241609_a_(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)
isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button)
func_195361_a(double arg0, double arg1, 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)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
func_231045_a_(double arg0, double arg1, 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)
mouseReleased(double arg0, double arg1, int arg2)
func_231048_c_(double arg0, double arg1, int arg2)
private boolean
a(bhw arg0, double arg1, double arg2)
isHovering(Slot arg0, double arg1, double arg2)
method_2387(class_1735 arg0, double arg1, double arg2)
isPointOverSlot(Slot slot, double pointX, double pointY)
func_195362_a(Slot arg0, double arg1, 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)
isPointWithinBounds(int xPosition, int yPosition, int width, int height, double pointX, double pointY)
func_195359_a(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
protected void
a(bhw arg0, int arg1, int arg2, bgq arg3)
slotClicked(Slot arg0, int arg1, int arg2, ClickType arg3)
method_2383(class_1735 arg0, int arg1, int arg2, class_1713 arg3)
onMouseClick(Slot slot, int invSlot, int clickData, SlotActionType actionType)
func_184098_a(Slot arg0, int arg1, int arg2, ClickType arg3)
public boolean
at_()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
func_231178_ax__()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
func_231046_a_(int arg0, int arg1, int arg2)
protected boolean
b(int arg0, int arg1)
checkHotbarKeyPressed(int arg0, int arg1)
method_2384(int arg0, int arg1)
handleHotbarKeyPressed(int keyCode, int scanCode)
func_195363_d(int arg0, int arg1)
public void
e()
removed()
method_25432()
removed()
func_231164_f_()
public boolean
ax_()
isPauseScreen()
method_25421()
isPauseScreen()
func_231177_au__()
public void
d()
tick()
method_25393()
tick()
func_231023_e_()
public T
i()
getMenu()
method_17577()
getScreenHandler()
func_212873_a_()