net.minecraft.screen

public class GenericContainerScreenHandler

extends ScreenHandler

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

Field summary

Modifier and TypeField
private final Inventory
container
field_17495
inventory
private final int
containerRows
field_17496
rows

Constructor summary

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

Method summary

Modifier and TypeMethod
public static GenericContainerScreenHandler
oneRow(int containerId, Inventory inventory)
method_19244(int arg0, class_1661 arg1)
createGeneric9x1(int syncId, PlayerInventory playerInventory)
public static GenericContainerScreenHandler
twoRows(int containerId, Inventory inventory)
method_19246(int arg0, class_1661 arg1)
createGeneric9x2(int syncId, PlayerInventory playerInventory)
public static GenericContainerScreenHandler
threeRows(int containerId, Inventory inventory)
method_19248(int arg0, class_1661 arg1)
createGeneric9x3(int syncId, PlayerInventory playerInventory)
public static GenericContainerScreenHandler
fourRows(int containerId, Inventory inventory)
method_19249(int arg0, class_1661 arg1)
createGeneric9x4(int syncId, PlayerInventory playerInventory)
public static GenericContainerScreenHandler
fiveRows(int containerId, Inventory inventory)
method_19250(int arg0, class_1661 arg1)
createGeneric9x5(int syncId, PlayerInventory playerInventory)
public static GenericContainerScreenHandler
sixRows(int containerId, Inventory inventory)
method_19251(int arg0, class_1661 arg1)
createGeneric9x6(int syncId, PlayerInventory playerInventory)
public static GenericContainerScreenHandler
threeRows(int containerId, Inventory inventory, Container container)
method_19245(int arg0, class_1661 arg1, class_1263 arg2)
createGeneric9x3(int syncId, PlayerInventory playerInventory, Inventory inventory)
public static GenericContainerScreenHandler
sixRows(int containerId, Inventory inventory, Container container)
method_19247(int arg0, class_1661 arg1, class_1263 arg2)
createGeneric9x6(int syncId, PlayerInventory playerInventory, Inventory inventory)
private void
addChestGrid(Container container, int left, int top)
method_61634(class_1263 arg0, int arg1, int arg2)
addInventorySlots(Inventory inventory, int left, int top)
public boolean
stillValid(Player player)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
quickMoveStack(Player player, int slotIndex)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public void
removed(Player player)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public Inventory
getContainer()
method_7629()
getInventory()
public int
getRowCount()
method_17388()
getRows()