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

ddf
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
net.minecraft.class_465
net.minecraft.client.gui.screen.ingame.ContainerScreen
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
containerWidth
field_146999_f
protected int
c
imageHeight
field_2779
containerHeight
field_147000_g
protected final T
d
menu
field_2797
container
field_147002_h
protected final Inventory
e
inventory
field_17410
playerInventory
field_213127_e
protected int
f
leftPos
field_2776
x
field_147003_i
protected int
g
topPos
field_2800
y
field_147009_r
protected Slot
h
hoveredSlot
field_2787
focusedSlot
field_147006_u
private Slot
k
clickedSlot
field_2777
touchDragSlotStart
field_147005_v
private boolean
l
isSplittingStack
field_2789
touchIsRightClickDrag
field_147004_w
private ItemStack
m
draggingItem
field_2782
touchDragStack
field_147012_x
private int
n
snapbackStartX
field_2784
touchDropX
field_147011_y
private int
o
snapbackStartY
field_2796
touchDropY
field_147010_z
private Slot
p
snapbackEnd
field_2802
touchDropOriginSlot
field_146989_A
private long
q
snapbackTime
field_2795
touchDropTime
field_146990_B
private ItemStack
r
snapbackItem
field_2785
touchDropReturningStack
field_146991_C
private Slot
s
quickdropSlot
field_2780
touchHoveredSlot
field_146985_D
private long
t
quickdropTime
field_2781
touchDropTimer
field_146986_E
protected final Set<Slot>
i
quickCraftSlots
field_2793
cursorDragSlots
field_147008_s
protected boolean
j
isQuickCrafting
field_2794
isCursorDragging
field_147007_t
private int
u
quickCraftingType
field_2790
heldButtonType
field_146987_F
private int
v
quickCraftingButton
field_2778
heldButtonCode
field_146988_G
private boolean
w
skipNextRelease
field_2798
cancelNextRelease
field_146995_H
private int
x
quickCraftingRemainder
field_2803
draggedStackRemainder
field_146996_I
private long
y
lastClickTime
field_2788
lastButtonClickTime
field_146997_J
private Slot
z
lastClickSlot
field_2799
lastClickedSlot
field_146998_K
private int
A
lastClickButton
field_2786
lastClickedButton
field_146992_L
private boolean
B
doubleclick
field_2783
isDoubleClicking
field_146993_M
private ItemStack
C
lastQuickMoved
field_2791
quickMovingStack
field_146994_N

Constructor summary

ModifierConstructor
public (T container, Inventory playerInventory, Component name)

Method summary

Modifier and TypeMethod
protected void
init()
init()
init()
init()
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
protected void
a(int arg0, int arg1)
renderTooltip(int arg0, int arg1)
method_2380(int arg0, int arg1)
drawMouseoverTooltip(int mouseX, int mouseY)
func_191948_b(int arg0, int arg1)
private void
a(bcj 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(int arg0, int arg1)
renderLabels(int arg0, int arg1)
method_2388(int arg0, int arg1)
drawForeground(int mouseX, int mouseY)
func_146979_b(int arg0, int arg1)
protected abstract void
a(float arg0, int arg1, int arg2)
renderBg(float arg0, int arg1, int arg2)
method_2389(float arg0, int arg1, int arg2)
drawBackground(float delta, int mouseX, int mouseY)
func_146976_a(float arg0, int arg1, int arg2)
private void
a(azx arg0)
renderSlot(Slot arg0)
method_2385(class_1735 arg0)
drawSlot(Slot slot)
func_146977_a(Slot arg0)
private void
d()
recalculateQuickCraftRemaining()
method_2379()
calculateOffset()
func_146980_g()
private Slot
c(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
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
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
mouseDragged(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)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
private boolean
a(azx 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(azx arg0, int arg1, int arg2, ays 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 button, SlotActionType arg3)
func_184098_a(Slot arg0, int arg1, int arg2, ClickType arg3)
public boolean
shouldCloseOnEsc()
shouldCloseOnEsc()
shouldCloseOnEsc()
shouldCloseOnEsc()
public boolean
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
protected boolean
c(int arg0, int arg1)
checkNumkeyPressed(int arg0, int arg1)
method_2384(int arg0, int arg1)
handleHotbarKeyPressed(int keyCode, int scanCode)
func_195363_d(int arg0, int arg1)
public void
removed()
removed()
removed()
removed()
public boolean
isPauseScreen()
isPauseScreen()
isPauseScreen()
isPauseScreen()
public void
tick()
tick()
tick()
tick()
public T
a()
getMenu()
method_17577()
getContainer()
func_212873_a_()