net.minecraft.world.inventory

public class ChestMenu

extends AbstractContainerMenu

ctl
net.minecraft.world.inventory.ChestMenu
net.minecraft.class_1707
net.minecraft.screen.GenericContainerScreenHandler
net.minecraft.world.inventory.ContainerChest

Field summary

Modifier and TypeField
private final Container
m
container
field_17495
inventory
private final int
n
containerRows
field_17496
rows

Constructor summary

ModifierConstructor
private (MenuType<?> type, int syncId, Inventory playerInventory, int rows)
public (MenuType<?> type, int syncId, Inventory playerInventory, Container inventory, int rows)

Method summary

Modifier and TypeMethod
public static ChestMenu
a(int arg0, cpw arg1)
oneRow(int arg0, Inventory arg1)
method_19244(int arg0, class_1661 arg1)
createGeneric9x1(int syncId, PlayerInventory playerInventory)
public static ChestMenu
b(int arg0, cpw arg1)
twoRows(int arg0, Inventory arg1)
method_19246(int arg0, class_1661 arg1)
createGeneric9x2(int syncId, PlayerInventory playerInventory)
public static ChestMenu
c(int arg0, cpw arg1)
threeRows(int arg0, Inventory arg1)
method_19248(int arg0, class_1661 arg1)
createGeneric9x3(int syncId, PlayerInventory playerInventory)
public static ChestMenu
d(int arg0, cpw arg1)
fourRows(int arg0, Inventory arg1)
method_19249(int arg0, class_1661 arg1)
createGeneric9x4(int syncId, PlayerInventory playerInventory)
public static ChestMenu
e(int arg0, cpw arg1)
fiveRows(int arg0, Inventory arg1)
method_19250(int arg0, class_1661 arg1)
createGeneric9x5(int syncId, PlayerInventory playerInventory)
public static ChestMenu
f(int arg0, cpw arg1)
sixRows(int arg0, Inventory arg1)
method_19251(int arg0, class_1661 arg1)
createGeneric9x6(int syncId, PlayerInventory playerInventory)
public static ChestMenu
a(int arg0, cpw arg1, btc arg2)
threeRows(int arg0, Inventory arg1, Container arg2)
method_19245(int arg0, class_1661 arg1, class_1263 arg2)
createGeneric9x3(int syncId, PlayerInventory playerInventory, Inventory inventory)
public static ChestMenu
b(int arg0, cpw arg1, btc arg2)
sixRows(int arg0, Inventory arg1, Container arg2)
method_19247(int arg0, class_1661 arg1, class_1263 arg2)
createGeneric9x6(int syncId, PlayerInventory playerInventory, Inventory inventory)
private void
d(btc arg0, int arg1, int arg2)
addChestGrid(Container arg0, int arg1, int arg2)
method_61634(class_1263 arg0, int arg1, int arg2)
addInventorySlots(Inventory inventory, int left, int top)
public boolean
b(cpx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
b(cpx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public void
a(cpx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public Container
l()
getContainer()
method_7629()
getInventory()
public int
m()
getRowCount()
method_17388()
getRows()