Interface CycleEnum
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 TypeMethodDescriptionList<net.kyori.adventure.text.TextComponent>getLore()The lore of the ItemStack for the Enum-valueorg.bukkit.MaterialThe Material of the ItemStack for the Enum-valuenet.kyori.adventure.text.TextComponentgetTitle()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
-