Class ClickListener.Silent

java.lang.Object
de.marcely.bedwars.tools.gui.ClickListener.Silent
All Implemented Interfaces:
ClickListener
Enclosing interface:
ClickListener

public static class ClickListener.Silent extends Object implements ClickListener
An implementation of ClickListener that does effectively nothing
  • Field Details

  • Method Details

    • onClick

      public final void onClick(Player player, boolean leftClick, boolean shiftClick)
      Description copied from interface: ClickListener
      Gets called whenever a player clicked on an item in the GUI
      Specified by:
      onClick in interface ClickListener
      Parameters:
      player - The player who clicked
      leftClick - If it was a left or right click
      shiftClick - If he pressed shift while clicking on it