public enum MetaType extends Enum<MetaType>
Enum Constant and Description |
---|
ADVANCEDENCHANTMENTS |
DISPLAYNAME_CONTAINS |
DISPLAYNAME_EQUALS |
DURABILITY |
ENCHANTMENT_CONTAINS |
ENCHANTMENT_EQUALS |
ITEMSADDER |
LORE_CONTAINS |
LORE_CONTAINS_REGEX |
LORE_EQUALS |
LORE_LINE_CONTAINS |
MODELDATA_EQUALS |
NBTAPI |
POTION |
UNBREAKABLE |
Modifier and Type | Method and Description |
---|---|
Class<? extends MetaTypeComparator> |
getClazz()
Get the handler class of this meta
|
static MetaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaType ADVANCEDENCHANTMENTS
public static final MetaType DISPLAYNAME_CONTAINS
public static final MetaType DISPLAYNAME_EQUALS
public static final MetaType DURABILITY
public static final MetaType ENCHANTMENT_CONTAINS
public static final MetaType ENCHANTMENT_EQUALS
public static final MetaType ITEMSADDER
public static final MetaType LORE_CONTAINS
public static final MetaType LORE_CONTAINS_REGEX
public static final MetaType LORE_EQUALS
public static final MetaType LORE_LINE_CONTAINS
public static final MetaType MODELDATA_EQUALS
public static final MetaType NBTAPI
public static final MetaType POTION
public static final MetaType UNBREAKABLE
public static MetaType[] values()
for (MetaType c : MetaType.values()) System.out.println(c);
public static MetaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@NotNull public Class<? extends MetaTypeComparator> getClazz()
Copyright © 2021. All rights reserved.