Enum Class ListType

java.lang.Object
java.lang.Enum<ListType>
fr.andross.banitem.utils.list.ListType
All Implemented Interfaces:
Serializable, Comparable<ListType>, Constable

public enum ListType extends Enum<ListType>
List of elements that can be listed.
Version:
3.1
Author:
Andross
  • Enum Constant Details

    • ACTION

      public static final ListType ACTION
      Represents a banned action.
    • ACTIONDATA

      public static final ListType ACTIONDATA
      Represents additional information about an action (specificities).
    • ENCHANTMENT

      public static final ListType ENCHANTMENT
      Represents a Minecraft enchantment.
    • ENTITY

      public static final ListType ENTITY
      Represents a Minecraft entity.
    • GAMEMODE

      public static final ListType GAMEMODE
      Represents a Minecraft game mode.
    • INVENTORY

      public static final ListType INVENTORY
      Represents a Minecraft inventory type.
    • ITEM

      public static final ListType ITEM
      Represents a Minecraft item.
    • MATERIAL

      public static final ListType MATERIAL
      Represents a Minecraft item material.
    • METATYPE

      public static final ListType METATYPE
      Represents a BanItem custom item meta.
    • REGION

      public static final ListType REGION
      Represents a WorldGuard protected region.
    • WORLD

      public static final ListType WORLD
      Represents a Minecraft world.
  • Method Details

    • values

      public static ListType[] 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 ListType 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