Modifier and Type | Method and Description |
---|---|
default @Nullable ItemStack |
getBook()
Gets the lectern's held book.
|
@Nullable Lectern |
getHolder()
Gets the block or entity belonging to the open inventory
|
default void |
setBook(@Nullable ItemStack book)
Sets the lectern's held book.
|
addItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContents
forEach, spliterator
Copyright © 2021. All rights reserved.