public class LecternContainer extends Container
inventorySlots, windowId| Constructor and Description |
|---|
LecternContainer(int p_i50075_1_) |
LecternContainer(int p_i50076_1_,
IInventory p_i50076_2_,
IIntArray p_i50076_3_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
boolean |
enchantItem(PlayerEntity playerIn,
int id) |
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 in class Containerpublic void updateProgressBar(int id,
int data)
updateProgressBar in class Containerpublic boolean canInteractWith(PlayerEntity playerIn)
canInteractWith in class Containerpublic ItemStack getBook()
public int getPage()