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 and 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 and Description |
---|---|
void |
PlayerEditBookEvent.setNewBookMeta(@NotNull BookMeta newBookMeta)
Sets the book meta that will actually be added to the book.
|
Constructor and Description |
---|
PlayerEditBookEvent(@NotNull Player who,
int slot,
@NotNull BookMeta previousBookMeta,
@NotNull BookMeta newBookMeta,
boolean isSigning) |
PlayerEditBookEvent(@NotNull Player who,
int slot,
@NotNull BookMeta previousBookMeta,
@NotNull BookMeta newBookMeta,
boolean isSigning) |
Modifier and Type | Method and Description |
---|---|
@NotNull BookMeta |
BookMeta.author(net.kyori.adventure.text.Component author)
Sets the author of the book.
|
@NotNull BookMeta |
BookMeta.BookMetaBuilder.build() |
@NotNull BookMeta |
BookMeta.clone() |
@NotNull BookMeta |
BookMeta.title(net.kyori.adventure.text.Component title)
Sets the title of the book.
|
Copyright © 2021. All rights reserved.