Enum Class FunctionItem

java.lang.Object
java.lang.Enum<FunctionItem>
com.minigameworld.util.FunctionItem
All Implemented Interfaces:
Serializable, Comparable<FunctionItem>, Constable

public enum FunctionItem extends Enum<FunctionItem>
  • Enum Constant Details

  • Method Details

    • values

      public static FunctionItem[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FunctionItem valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • item

      public org.bukkit.inventory.ItemStack item()
    • slot

      public int slot()
    • give

      public static boolean give(org.bukkit.entity.Player p, FunctionItem item)
    • giveAll

      public static void giveAll(org.bukkit.entity.Player p)
    • checkPlayerContainsInSlot

      public static boolean checkPlayerContainsInSlot(org.bukkit.entity.Player p, FunctionItem functionItem)
    • isFunctionItem

      public static boolean isFunctionItem(org.bukkit.inventory.ItemStack item)
    • inMinigameItems

      public static List<FunctionItem> inMinigameItems()