public class GrindstoneContainer extends Container
inventorySlots, windowId
コンストラクタと説明 |
---|
GrindstoneContainer(int p_i50080_1_,
PlayerInventory playerInventoryIn) |
GrindstoneContainer(int windowIdIn,
PlayerInventory p_i50081_2_,
IWorldPosCallable worldPosCallableIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canInteractWith(PlayerEntity playerIn)
Determines whether supplied player can use this container
|
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, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
public GrindstoneContainer(int p_i50080_1_, PlayerInventory playerInventoryIn)
public GrindstoneContainer(int windowIdIn, PlayerInventory p_i50081_2_, IWorldPosCallable worldPosCallableIn)
public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged
クラス内 Container
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed
クラス内 Container
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
クラス内 Container
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
クラス内 Container