BlockInventoryHolder
, BlockState
, InventoryHolder
, Metadatable
, PersistentDataHolder
, TileState
public interface Lectern extends TileState, 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
getPersistentDataContainer
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.