java.lang.Object
me.hsgamer.hscore.minecraft.gui.button.impl.NullButton
All Implemented Interfaces:
Button, Initializable

public class NullButton extends Object implements Button
The null button, only with action
  • Constructor Details

    • NullButton

      public NullButton(@NotNull @NotNull Consumer<@NotNull ClickEvent> consumer)
      Create a new button
      Parameters:
      consumer - the consumer
  • Method Details

    • display

      @NotNull public @NotNull DisplayButton display(@NotNull @NotNull UUID uuid)
      Description copied from interface: Button
      Display the button
      Specified by:
      display in interface Button
      Parameters:
      uuid - the unique id
      Returns:
      the display button