public class ContainerMerchant extends Container
crafters, inventoryItemStacks, inventorySlots, windowId| Constructor and Description |
|---|
ContainerMerchant(InventoryPlayer playerInventory,
IMerchant merchant,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCraftingToCrafters(ICrafting listener) |
boolean |
canInteractWith(EntityPlayer playerIn) |
void |
detectAndSendChanges() |
InventoryMerchant |
getMerchantInventory() |
void |
onContainerClosed(EntityPlayer playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
void |
setCurrentRecipeIndex(int p_75175_1_) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
void |
updateProgressBar(int id,
int data) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, enchantItem, extractDragMode, func_180610_a, func_94534_d, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setPlayerIsPresent, slotClickpublic ContainerMerchant(InventoryPlayer playerInventory, IMerchant merchant, World worldIn)
public InventoryMerchant getMerchantInventory()
public void addCraftingToCrafters(ICrafting listener)
addCraftingToCrafters in class Containerpublic void detectAndSendChanges()
detectAndSendChanges in class Containerpublic void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged in class Containerpublic void setCurrentRecipeIndex(int p_75175_1_)
public void updateProgressBar(int id,
int data)
updateProgressBar in class Containerpublic boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Containerpublic void onContainerClosed(EntityPlayer playerIn)
onContainerClosed in class Container