public class LecternContainer extends Container
inventorySlots, windowId| コンストラクタと説明 |
|---|
LecternContainer(int p_i50075_1_) |
LecternContainer(int p_i50076_1_,
IInventory p_i50076_2_,
IIntArray p_i50076_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.
|
ItemStack |
getBook() |
int |
getPage() |
void |
updateProgressBar(int id,
int data) |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, transferStackInSlotpublic LecternContainer(int p_i50075_1_)
public LecternContainer(int p_i50076_1_,
IInventory p_i50076_2_,
IIntArray p_i50076_3_)
public boolean enchantItem(PlayerEntity playerIn, int id)
enchantItem クラス内 Containerpublic void updateProgressBar(int id,
int data)
updateProgressBar クラス内 Containerpublic boolean canInteractWith(PlayerEntity playerIn)
canInteractWith クラス内 Containerpublic ItemStack getBook()
public int getPage()