public enum ItemStackHolderInjector extends java.lang.Enum<ItemStackHolderInjector>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ItemStackHolderRef> |
itemStackHolders |
Modifier and Type | Method and Description |
---|---|
private void |
addHolder(java.util.Map<java.lang.String,java.lang.Class<?>> classCache,
java.lang.String className,
java.lang.String annotationTarget,
java.lang.String value,
java.lang.Integer meta,
java.lang.String nbt) |
void |
findHolders(ASMDataTable table) |
void |
inject() |
static ItemStackHolderInjector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemStackHolderInjector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemStackHolderInjector INSTANCE
private java.util.List<ItemStackHolderRef> itemStackHolders
public static ItemStackHolderInjector[] values()
for (ItemStackHolderInjector c : ItemStackHolderInjector.values()) System.out.println(c);
public static ItemStackHolderInjector 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 nullpublic void inject()
public void findHolders(ASMDataTable table)
private void addHolder(java.util.Map<java.lang.String,java.lang.Class<?>> classCache, java.lang.String className, java.lang.String annotationTarget, java.lang.String value, java.lang.Integer meta, java.lang.String nbt)