public interface Lectern extends BlockEntity
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getBook() |
int |
getPage() |
int |
getTotalPages() |
boolean |
hasBook() |
void |
setBook(ItemStack book) |
void |
setPage(int page) |
close, getBlock, getBlockState, getCustomName, getLevel, getPosition, getType, hasCustomName, isClosed, isMovable, isSpawnable, isValid, onBreak, onUpdate, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAllboolean hasBook()
int getPage()
void setPage(@Nonnegative int page)
int getTotalPages()
Copyright © 2021. All rights reserved.