Class PlayerConfigCustomClickEvent

java.lang.Object
net.minestom.server.event.player.PlayerConfigCustomClickEvent
All Implemented Interfaces:
Event, EntityEvent, PlayerEvent

public class PlayerConfigCustomClickEvent extends Object implements PlayerEvent
Triggered when we receive a custom click packet from the client during the configuration state.
See Also:
  • Constructor Details

    • PlayerConfigCustomClickEvent

      public PlayerConfigCustomClickEvent(@NotNull @NotNull Player player, @NotNull @NotNull net.kyori.adventure.key.Key key, @Nullable @Nullable net.kyori.adventure.nbt.BinaryTag payload)
  • 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
    • getKey

      @NotNull public @NotNull net.kyori.adventure.key.Key getKey()
    • getPayload

      @Nullable public @Nullable net.kyori.adventure.nbt.BinaryTag getPayload()