@FunctionalInterface
public static interface UContainer.SlotInventoryFunction
Modifier and Type | Method and Description |
---|---|
net.minecraft.inventory.container.Slot |
getSlot(net.minecraft.inventory.IInventory inventory,
int index,
int xPosition,
int yPosition)
Should return a slot with the applied parameters.
|
net.minecraft.inventory.container.Slot getSlot(net.minecraft.inventory.IInventory inventory, int index, int xPosition, int yPosition)
inventory
- An inventoryindex
- Index for this inventoryxPosition
- x coordinateyPosition
- y coordinate