public class HorseInventoryContainer extends Container
Modifier and Type | Field and Description |
---|---|
private AbstractHorseEntity |
horse |
private IInventory |
horseInventory |
inventorySlots, windowId
Constructor and Description |
---|
HorseInventoryContainer(int p_i50077_1_,
PlayerInventory p_i50077_2_,
IInventory p_i50077_3_,
AbstractHorseEntity p_i50077_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
void |
onContainerClosed(PlayerEntity playerIn) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
private final IInventory horseInventory
private final AbstractHorseEntity horse
public HorseInventoryContainer(int p_i50077_1_, PlayerInventory p_i50077_2_, IInventory p_i50077_3_, AbstractHorseEntity p_i50077_4_)
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot
in class Container
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed
in class Container