public class LecternContainer extends Container
Modifier and Type | Field and Description |
---|---|
private IInventory |
field_217018_c |
private IIntArray |
field_217019_d |
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, transferStackInSlot
private final IInventory field_217018_c
private final IIntArray field_217019_d
public 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 Container
public void updateProgressBar(int id, int data)
updateProgressBar
in class Container
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
in class Container
public ItemStack getBook()
public int getPage()