mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-21 15:54:45 +01:00
SPIGOT-4892: Allow to set the currently viewed page of a book on a lectern inventory
By: Brokkonaut <hannos17@gmx.de>
This commit is contained in:
parent
1ac05c8b80
commit
7285d5d822
1 changed files with 5 additions and 1 deletions
|
@ -98,7 +98,11 @@ public abstract class InventoryView {
|
|||
/**
|
||||
* The repair's cost in xp levels
|
||||
*/
|
||||
REPAIR_COST(0, InventoryType.ANVIL);
|
||||
REPAIR_COST(0, InventoryType.ANVIL),
|
||||
/**
|
||||
* The lectern's current open book page
|
||||
*/
|
||||
BOOK_PAGE(0, InventoryType.LECTERN);
|
||||
int id;
|
||||
InventoryType style;
|
||||
private Property(int id, /*@NotNull*/ InventoryType appliesTo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue