BlockInventoryHolder
, BlockState
, InventoryHolder
, Metadatable
public interface Lectern extends BlockState, BlockInventoryHolder
Modifier and Type | Method | 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.
|
getBlock
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
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 © 2019. All rights reserved.