net.minecraft.world.inventory

public class ChestMenu

extends AbstractContainerMenu

bqe
net.minecraft.world.inventory.ChestMenu
net.minecraft.class_1707
net.minecraft.screen.GenericContainerScreenHandler
net.minecraft.src.C_1244_
net.minecraft.world.inventory.ContainerChest

Field summary

Modifier and TypeField
private static final int
k
SLOTS_PER_ROW
field_30780
field_30780
f_150511_
private final Container
l
container
field_17495
inventory
f_39221_
private final int
m
containerRows
field_17496
rows
f_39222_

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, bnq arg1)
oneRow(int arg0, Inventory arg1)
method_19244(int arg0, class_1661 arg1)
createGeneric9x1(int syncId, PlayerInventory playerInventory)
m_39234_(int p_39235_, C_1140_ p_39236_)
public static ChestMenu
b(int arg0, bnq arg1)
twoRows(int arg0, Inventory arg1)
method_19246(int arg0, class_1661 arg1)
createGeneric9x2(int syncId, PlayerInventory playerInventory)
m_39243_(int p_39244_, C_1140_ p_39245_)
public static ChestMenu
c(int arg0, bnq arg1)
threeRows(int arg0, Inventory arg1)
method_19248(int arg0, class_1661 arg1)
createGeneric9x3(int syncId, PlayerInventory playerInventory)
m_39255_(int p_39256_, C_1140_ p_39257_)
public static ChestMenu
d(int arg0, bnq arg1)
fourRows(int arg0, Inventory arg1)
method_19249(int arg0, class_1661 arg1)
createGeneric9x4(int syncId, PlayerInventory playerInventory)
m_39258_(int p_39259_, C_1140_ p_39260_)
public static ChestMenu
e(int arg0, bnq arg1)
fiveRows(int arg0, Inventory arg1)
method_19250(int arg0, class_1661 arg1)
createGeneric9x5(int syncId, PlayerInventory playerInventory)
m_39262_(int p_39263_, C_1140_ p_39264_)
public static ChestMenu
f(int arg0, bnq arg1)
sixRows(int arg0, Inventory arg1)
method_19251(int arg0, class_1661 arg1)
createGeneric9x6(int syncId, PlayerInventory playerInventory)
m_39266_(int p_39267_, C_1140_ p_39268_)
public static ChestMenu
a(int arg0, bnq arg1, avj 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)
m_39237_(int p_39238_, C_1140_ p_39239_, C_464_ p_39240_)
public static ChestMenu
b(int arg0, bnq arg1, avj 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)
m_39246_(int p_39247_, C_1140_ p_39248_, C_464_ p_39249_)
public boolean
a(bnr arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
b(bnr arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39254_, int arg1)
public void
b(bnr arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public Container
l()
getContainer()
method_7629()
getInventory()
m_39261_()
public int
m()
getRowCount()
method_17388()
getRows()
m_39265_()