Interface LecternInventory
Interface to the inventory of a Lectern.
- Since:
- 1.14
-
Method Summary
Methods inherited from interface Inventory
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, setStorageContentsMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getHolder
-
getBook
Gets the lectern's held book.- Returns:
- book set in the lectern
- Since:
- 1.15.2
-
setBook
Sets the lectern's held book.- Parameters:
book- the new book- Since:
- 1.15.2
-