public interface Lectern extends TileState, BlockInventoryHolder
Modifier and Type | Method and Description |
---|---|
@NotNull Inventory |
getInventory()
Get the object's inventory.
|
int |
getPage()
Get the current lectern page.
|
@NotNull 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 @NotNull Inventory getInventory()
InventoryHolder
getInventory
in interface InventoryHolder
Container.getInventory()
@NotNull @NotNull Inventory getSnapshotInventory()
Container.getSnapshotInventory()
Copyright © 2021. All rights reserved.