BlockInventoryHolder
, BlockState
, InventoryHolder
, Metadatable
, PersistentDataHolder
, TileState
public interface Lectern extends TileState, BlockInventoryHolder
Modifier and Type | Method | 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.
|
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 @NotNull Inventory getInventory()
InventoryHolder
getInventory
in interface InventoryHolder
Container.getInventory()
@NotNull @NotNull Inventory getSnapshotInventory()
Container.getSnapshotInventory()
Copyright © 2020. All rights reserved.