public enum TagRegistry extends java.lang.Enum<TagRegistry>
Material Tag registries.| Enum Constant and Description |
|---|
BLOCKS
The blocks registry
|
ITEMS
The items registry
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getRegistry() |
@NotNull java.util.Map<org.bukkit.NamespacedKey,TagWrapperMock> |
getTags() |
boolean |
isEmpty() |
static TagRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TagRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagRegistry BLOCKS
public static final TagRegistry ITEMS
public static TagRegistry[] values()
for (TagRegistry c : TagRegistry.values()) System.out.println(c);
public static TagRegistry valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NotNull public final @NotNull java.lang.String getRegistry()
@NotNull public final @NotNull java.util.Map<org.bukkit.NamespacedKey,TagWrapperMock> getTags()
public boolean isEmpty()