public class ContainerHorseInventory extends Container
Modifier and Type | Field and Description |
---|---|
private AbstractHorse |
horse |
private IInventory |
horseInventory |
inventoryItemStacks, inventorySlots, listeners, windowId
Constructor and Description |
---|
ContainerHorseInventory(IInventory playerInventory,
IInventory horseInventoryIn,
AbstractHorse horse,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
void |
onContainerClosed(EntityPlayer playerIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBar
private final IInventory horseInventory
private final AbstractHorse horse
public ContainerHorseInventory(IInventory playerInventory, IInventory horseInventoryIn, AbstractHorse horse, EntityPlayer player)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container
public void onContainerClosed(EntityPlayer playerIn)
onContainerClosed
in class Container