public class LoomContainer extends Container
Modifier and Type | Field and Description |
---|---|
private IntReferenceHolder |
field_217034_d |
private java.lang.Runnable |
field_217035_e |
private IInventory |
field_217040_j |
private IInventory |
field_217041_k |
private long |
field_226622_j_ |
private Slot |
output |
private Slot |
slotBanner |
private Slot |
slotDye |
private Slot |
slotPattern |
private IWorldPosCallable |
worldPos |
inventorySlots, windowId
Constructor and Description |
---|
LoomContainer(int p_i50073_1_,
PlayerInventory p_i50073_2_) |
LoomContainer(int p_i50074_1_,
PlayerInventory p_i50074_2_,
IWorldPosCallable p_i50074_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
private void |
createOutputStack() |
boolean |
enchantItem(PlayerEntity playerIn,
int id) |
void |
func_217020_a(java.lang.Runnable p_217020_1_) |
int |
func_217023_e() |
Slot |
getBannerSlot() |
Slot |
getDyeSlot() |
Slot |
getOutputSlot() |
Slot |
getPatternSlot() |
void |
onContainerClosed(PlayerEntity playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
private final IWorldPosCallable worldPos
private final IntReferenceHolder field_217034_d
private java.lang.Runnable field_217035_e
private final Slot slotBanner
private final Slot slotDye
private final Slot slotPattern
private final Slot output
private long field_226622_j_
private final IInventory field_217040_j
private final IInventory field_217041_k
public LoomContainer(int p_i50073_1_, PlayerInventory p_i50073_2_)
public LoomContainer(int p_i50074_1_, PlayerInventory p_i50074_2_, IWorldPosCallable p_i50074_3_)
public int func_217023_e()
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 void func_217020_a(java.lang.Runnable p_217020_1_)
public ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot
in class Container
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed
in class Container
private void createOutputStack()
public Slot getBannerSlot()
public Slot getDyeSlot()
public Slot getPatternSlot()
public Slot getOutputSlot()