Class DummyButton

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

public class DummyButton extends Object implements Button
The dummy button with only the item
  • Constructor Details

    • DummyButton

      public DummyButton(Function<@NotNull UUID,@Nullable Item> itemFunction)
      Create a new button
      Parameters:
      itemFunction - the item function
    • DummyButton

      public DummyButton(@Nullable @Nullable Item itemStack)
      Create a new button
      Parameters:
      itemStack - the item
  • 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