Class EditBookEvent

java.lang.Object
net.minestom.server.event.book.EditBookEvent
All Implemented Interfaces:
Event, EntityEvent, EntityInstanceEvent, InstanceEvent, ItemEvent, PlayerEvent, PlayerInstanceEvent

public class EditBookEvent extends Object implements PlayerInstanceEvent, ItemEvent
  • Constructor Details

    • EditBookEvent

      public EditBookEvent(@NotNull @NotNull Player player, @NotNull @NotNull ItemStack itemStack, @NotNull @NotNull List<String> pages, @Nullable @Nullable String title)
  • Method Details

    • getPlayer

      @NotNull public @NotNull Player getPlayer()
      Description copied from interface: PlayerEvent
      Gets the player.
      Specified by:
      getPlayer in interface PlayerEvent
      Returns:
      the player
    • getItemStack

      @NotNull public @NotNull ItemStack getItemStack()
      Specified by:
      getItemStack in interface ItemEvent
    • getPages

      @NotNull public @NotNull List<String> getPages()
    • getTitle

      @Nullable public @Nullable String getTitle()
    • isSigned

      public boolean isSigned()