public interface IInvSlot
Modifier and Type | Method and Description |
---|---|
boolean |
canPutStackInSlot(net.minecraft.item.ItemStack stack) |
boolean |
canTakeStackFromSlot(net.minecraft.item.ItemStack stack) |
net.minecraft.item.ItemStack |
decreaseStackInSlot(int amount) |
int |
getIndex()
Returns the slot number of the underlying Inventory.
|
net.minecraft.item.ItemStack |
getStackInSlot() |
boolean |
isItemValidForSlot(net.minecraft.item.ItemStack stack) |
void |
setStackInSlot(net.minecraft.item.ItemStack stack) |
int getIndex()
boolean canPutStackInSlot(net.minecraft.item.ItemStack stack)
boolean canTakeStackFromSlot(net.minecraft.item.ItemStack stack)
boolean isItemValidForSlot(net.minecraft.item.ItemStack stack)
net.minecraft.item.ItemStack decreaseStackInSlot(int amount)
net.minecraft.item.ItemStack getStackInSlot()
void setStackInSlot(net.minecraft.item.ItemStack stack)