public interface Lectern extends TileState, BlockInventoryHolder
Modifier and Type | Method and Description |
---|---|
Inventory |
getInventory()
Get the object's inventory.
|
int |
getPage()
Get the current lectern page.
|
Inventory |
getSnapshotInventory() |
void |
setPage(int page)
Set the current lectern page.
|
getPersistentDataContainer
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, update
getMetadata, hasMetadata, removeMetadata, setMetadata
getBlock
int getPage()
void setPage(int page)
page
- new page@NotNull Inventory getInventory()
InventoryHolder
getInventory
in interface InventoryHolder
Container.getInventory()
@NotNull Inventory getSnapshotInventory()
Container.getSnapshotInventory()
Copyright © 2022. All rights reserved.