Package | Description |
---|---|
org.bukkit.event.player | |
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
Modifier and Type | Method | Description |
---|---|---|
@NotNull BookMeta |
PlayerEditBookEvent.getNewBookMeta() |
Gets the book meta that the player is attempting to add to the book.
|
@NotNull BookMeta |
PlayerEditBookEvent.getPreviousBookMeta() |
Gets the book meta currently on the book.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PlayerEditBookEvent.setNewBookMeta(@NotNull BookMeta newBookMeta) |
Sets the book meta that will actually be added to the book.
|
Constructor | Description |
---|---|
PlayerEditBookEvent(@NotNull Player who,
int slot,
@NotNull BookMeta previousBookMeta,
@NotNull BookMeta newBookMeta,
boolean isSigning) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull BookMeta |
BookMeta.clone() |
Copyright © 2020. All rights reserved.