public interface InventoryProxy
extends net.minecraft.inventory.IInventory
| Modifier and Type | Method and Description |
|---|---|
default void |
clear() |
default void |
closeInventory(net.minecraft.entity.player.EntityPlayer player) |
default net.minecraft.item.ItemStack |
decrStackSize(int slot,
int count) |
default net.minecraft.util.text.ITextComponent |
getCustomName() |
default net.minecraft.util.text.ITextComponent |
getDisplayName() |
default int |
getField(int index) |
default int |
getFieldCount() |
default int |
getHeight() |
net.minecraft.inventory.IInventory |
getInventory() |
default int |
getInventoryStackLimit() |
default net.minecraft.util.text.ITextComponent |
getName() |
default int |
getSizeInventory() |
default net.minecraft.item.ItemStack |
getStackInSlot(int slot) |
default int |
getWidth() |
default boolean |
hasCustomName() |
default boolean |
isEmpty() |
default boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack) |
default boolean |
isUsableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
default void |
markDirty() |
default void |
openInventory(net.minecraft.entity.player.EntityPlayer player) |
default net.minecraft.item.ItemStack |
removeStackFromSlot(int slot) |
default void |
setField(int index,
int value) |
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 boolean isEmpty()
isEmpty 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 removeStackFromSlot(int slot)
removeStackFromSlot 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 isUsableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUsableByPlayer in interface net.minecraft.inventory.IInventorydefault void openInventory(net.minecraft.entity.player.EntityPlayer player)
openInventory in interface net.minecraft.inventory.IInventorydefault void closeInventory(net.minecraft.entity.player.EntityPlayer player)
closeInventory in interface net.minecraft.inventory.IInventorydefault boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorydefault int getField(int index)
getField in interface net.minecraft.inventory.IInventorydefault void setField(int index,
int value)
setField in interface net.minecraft.inventory.IInventorydefault int getFieldCount()
getFieldCount in interface net.minecraft.inventory.IInventorydefault void clear()
clear in interface net.minecraft.inventory.IInventorydefault net.minecraft.util.text.ITextComponent getName()
getName in interface net.minecraft.util.INameabledefault net.minecraft.util.text.ITextComponent getCustomName()
getCustomName in interface net.minecraft.util.INameabledefault boolean hasCustomName()
hasCustomName in interface net.minecraft.util.INameabledefault net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.util.INameabledefault int getWidth()
getWidth in interface net.minecraft.inventory.IInventorydefault int getHeight()
getHeight in interface net.minecraft.inventory.IInventory