| Package | Description |
|---|---|
| io.papermc.paper.event.player |
| Modifier and Type | Method and Description |
|---|---|
@NotNull PlayerLecternPageChangeEvent.PageChangeDirection |
PlayerLecternPageChangeEvent.getPageChangeDirection()
Gets the page change direction.
|
static PlayerLecternPageChangeEvent.PageChangeDirection |
PlayerLecternPageChangeEvent.PageChangeDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerLecternPageChangeEvent.PageChangeDirection[] |
PlayerLecternPageChangeEvent.PageChangeDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
PlayerLecternPageChangeEvent(@NotNull Player player,
@NotNull Lectern lectern,
@NotNull ItemStack book,
@NotNull PlayerLecternPageChangeEvent.PageChangeDirection pageChangeDirection,
int oldPage,
int newPage) |
Copyright © 2021. All rights reserved.