public class LoomContainer extends Container
inventorySlots, windowId| コンストラクタと説明 |
|---|
LoomContainer(int p_i50073_1_,
PlayerInventory p_i50073_2_) |
LoomContainer(int p_i50074_1_,
PlayerInventory p_i50074_2_,
IWorldPosCallable p_i50074_3_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canInteractWith(PlayerEntity playerIn)
Determines whether supplied player can use this container
|
boolean |
enchantItem(PlayerEntity playerIn,
int id)
Handles the given Button-click on the server, currently only used by enchanting.
|
void |
func_217020_a(java.lang.Runnable p_217020_1_) |
Slot |
func_217022_g() |
int |
func_217023_e() |
Slot |
func_217024_f() |
Slot |
func_217025_h() |
Slot |
func_217026_i() |
void |
onContainerClosed(PlayerEntity playerIn)
Called when the container is closed.
|
void |
onCraftMatrixChanged(IInventory inventoryIn)
Callback for when the crafting matrix is changed.
|
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index)
Handle when the stack in slot
index is shift-clicked. |
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, updateProgressBarpublic 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 クラス内 Containerpublic boolean enchantItem(PlayerEntity playerIn, int id)
enchantItem クラス内 Containerpublic void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged クラス内 Containerpublic void func_217020_a(java.lang.Runnable p_217020_1_)
public ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
index is shift-clicked. Normally this moves the stack between the player
inventory and the other inventory(s).transferStackInSlot クラス内 Containerpublic void onContainerClosed(PlayerEntity playerIn)
onContainerClosed クラス内 Containerpublic Slot func_217024_f()
public Slot func_217022_g()
public Slot func_217025_h()
public Slot func_217026_i()