public class CartographyContainer extends Container
| 修飾子とタイプ | フィールドと説明 |
|---|---|
IInventory |
field_216998_c |
inventorySlots, windowId| コンストラクタと説明 |
|---|
CartographyContainer(int p_i50093_1_,
PlayerInventory p_i50093_2_) |
CartographyContainer(int p_i50094_1_,
PlayerInventory p_i50094_2_,
IWorldPosCallable p_i50094_3_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canInteractWith(PlayerEntity playerIn)
Determines whether supplied player can use this container
|
boolean |
canMergeSlot(ItemStack stack,
Slot slotIn)
Called to determine if the current slot is valid for the stack merging (double-click) code.
|
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, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBarpublic final IInventory field_216998_c
public CartographyContainer(int p_i50093_1_,
PlayerInventory p_i50093_2_)
public CartographyContainer(int p_i50094_1_,
PlayerInventory p_i50094_2_,
IWorldPosCallable p_i50094_3_)
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith クラス内 Containerpublic void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged クラス内 Containerpublic boolean canMergeSlot(ItemStack stack, Slot slotIn)
canMergeSlot クラス内 Containerpublic 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 クラス内 Container