public class StonecutterContainer extends Container
Modifier and Type | Field and Description |
---|---|
IInventory |
field_217087_f |
inventorySlots, windowId
Constructor and Description |
---|
StonecutterContainer(int p_i50059_1_,
PlayerInventory p_i50059_2_) |
StonecutterContainer(int p_i50060_1_,
PlayerInventory p_i50060_2_,
IWorldPosCallable p_i50060_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
boolean |
canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
enchantItem(PlayerEntity playerIn,
int id) |
int |
func_217073_e() |
boolean |
func_217083_h() |
java.util.List<StonecuttingRecipe> |
getRecipeList() |
int |
getRecipeListSize() |
ContainerType<?> |
getType() |
void |
onContainerClosed(PlayerEntity playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
void |
setInventoryUpdateListener(java.lang.Runnable p_217071_1_) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, clearContainer, computeStackSize, detectAndSendChanges, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, isValidDragMode, isWithinUsableDistance, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
public final IInventory field_217087_f
public StonecutterContainer(int p_i50059_1_, PlayerInventory p_i50059_2_)
public StonecutterContainer(int p_i50060_1_, PlayerInventory p_i50060_2_, IWorldPosCallable p_i50060_3_)
public int func_217073_e()
public java.util.List<StonecuttingRecipe> getRecipeList()
public int getRecipeListSize()
public boolean func_217083_h()
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
in class Container
public boolean enchantItem(PlayerEntity playerIn, int id)
enchantItem
in class Container
public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged
in class Container
public ContainerType<?> getType()
public void setInventoryUpdateListener(java.lang.Runnable p_217071_1_)
public boolean canMergeSlot(ItemStack stack, Slot slotIn)
canMergeSlot
in class Container
public ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot
in class Container
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed
in class Container