public interface InventoryProxy
extends net.minecraft.inventory.IInventory
| Modifier and Type | Method and Description |
|---|---|
default void |
closeInventory() |
default net.minecraft.item.ItemStack |
decrStackSize(int slot,
int count) |
net.minecraft.inventory.IInventory |
getInventory() |
default java.lang.String |
getInventoryName() |
default int |
getInventoryStackLimit() |
default int |
getSizeInventory() |
default net.minecraft.item.ItemStack |
getStackInSlot(int slot) |
default net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
default boolean |
hasCustomInventoryName() |
default boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack) |
default boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
default void |
markDirty() |
default void |
openInventory() |
default void |
setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack) |
net.minecraft.inventory.IInventory getInventory()
default int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorydefault net.minecraft.item.ItemStack getStackInSlot(int slot)
getStackInSlot in interface net.minecraft.inventory.IInventorydefault net.minecraft.item.ItemStack decrStackSize(int slot,
int count)
decrStackSize in interface net.minecraft.inventory.IInventorydefault net.minecraft.item.ItemStack getStackInSlotOnClosing(int slot)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorydefault void setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorydefault int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorydefault void markDirty()
markDirty in interface net.minecraft.inventory.IInventorydefault boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUseableByPlayer in interface net.minecraft.inventory.IInventorydefault void openInventory()
openInventory in interface net.minecraft.inventory.IInventorydefault void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorydefault boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorydefault java.lang.String getInventoryName()
getInventoryName in interface net.minecraft.inventory.IInventorydefault boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventory