Class LecternContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.LecternContainer
-
Field Summary
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
ConstructorDescriptionLecternContainer
(int p_i50075_1_) LecternContainer
(int p_i50076_1_, IInventory p_i50076_2_, IIntArray p_i50076_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
clickMenuButton
(PlayerEntity p_75140_1_, int p_75140_2_) getBook()
int
getPage()
void
setData
(int p_75137_1_, int p_75137_2_) boolean
stillValid
(PlayerEntity p_75145_1_) Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, quickMoveStack, removed, removeSlotListener, resetQuickCraft, setAll, setItem, setSynched, slotsChanged, stillValid
-
Field Details
-
lectern
-
lecternData
-
-
Constructor Details
-
LecternContainer
public LecternContainer(int p_i50075_1_) -
LecternContainer
-
-
Method Details
-
clickMenuButton
- Overrides:
clickMenuButton
in classContainer
-
setData
public void setData(int p_75137_1_, int p_75137_2_) -
stillValid
- Specified by:
stillValid
in classContainer
-
getBook
-
getPage
public int getPage()
-