Interface ClickAction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ClickAction
Represents an action to be performed when a player clicks on an inventory slot in the respective AbstractMenu.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onClick(org.bukkit.entity.Player player)
    Called when a player clicks on an inventory slot in the respective AbstractMenu.
  • Method Details

    • onClick

      void onClick(org.bukkit.entity.Player player)
      Called when a player clicks on an inventory slot in the respective AbstractMenu.
      Parameters:
      player - The player who clicked.