net.minecraft.screen

public class Generic3x3ContainerScreenHandler

extends ScreenHandler

net.minecraft.world.inventory.DispenserMenu
net.minecraft.class_1716
net.minecraft.screen.Generic3x3ContainerScreenHandler

Field summary

Modifier and TypeField
private static final int
SLOT_COUNT
field_30788
CONTAINER_SIZE
private static final int
INV_SLOT_START
field_30789
INVENTORY_START
private static final int
INV_SLOT_END
field_30790
INVENTORY_END
private static final int
USE_ROW_SLOT_START
field_30791
HOTBAR_START
private static final int
USE_ROW_SLOT_END
field_30792
HOTBAR_END
private final Inventory
dispenser
field_7806
inventory

Constructor summary

ModifierConstructor
public (int syncId, PlayerInventory playerInventory)
public (int syncId, PlayerInventory playerInventory, Inventory inventory)

Method summary

Modifier and TypeMethod
protected void
add3x3GridSlots(Container container, int left, int top)
method_61635(class_1263 arg0, int arg1, int arg2)
add3x3Slots(Inventory inventory, int x, int y)
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)