public interface CycleEnum
Interface used by the CycleGUIButton Has to be implemented by the Enum to provide needed data to CycleGUIButton
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.kyori.adventure.text.TextComponent>
    The lore of the ItemStack for the Enum-value
    org.bukkit.Material
    The Material of the ItemStack for the Enum-value
    default String
    Should return the permission for the specific value CycleGUIButton will skip values for which the player doesn't have permission
    net.kyori.adventure.text.TextComponent
    The title of the ItemStack for the Enum-value
  • Method Details

    • getMaterial

      org.bukkit.Material getMaterial()
      The Material of the ItemStack for the Enum-value
      Returns:
      The Material
    • getTitle

      net.kyori.adventure.text.TextComponent getTitle()
      The title of the ItemStack for the Enum-value
      Returns:
      The title
    • getLore

      List<net.kyori.adventure.text.TextComponent> getLore()
      The lore of the ItemStack for the Enum-value
      Returns:
      The lore
    • getPermission

      default String getPermission()
      Should return the permission for the specific value CycleGUIButton will skip values for which the player doesn't have permission
      Returns:
      The permission