すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド
修飾子とタイプ |
メソッドと説明 |
boolean |
canInteractWith(PlayerEntity playerIn)
Determines whether supplied player can use this container
|
static ChestContainer |
createGeneric9X1(int id,
PlayerInventory player) |
static ChestContainer |
createGeneric9X2(int id,
PlayerInventory player) |
static ChestContainer |
createGeneric9X3(int id,
PlayerInventory player) |
static ChestContainer |
createGeneric9X3(int id,
PlayerInventory player,
IInventory blockEntity) |
static ChestContainer |
createGeneric9X4(int id,
PlayerInventory player) |
static ChestContainer |
createGeneric9X5(int id,
PlayerInventory player) |
static ChestContainer |
createGeneric9X6(int id,
PlayerInventory player) |
static ChestContainer |
createGeneric9X6(int id,
PlayerInventory player,
IInventory blockEntity) |
IInventory |
getLowerChestInventory()
Gets the inventory associated with this chest container.
|
int |
getNumRows() |
void |
onContainerClosed(PlayerEntity playerIn)
Called when the container is closed.
|
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index)
Handle when the stack in slot index is shift-clicked.
|