public static enum ItemHandlerManager.EnumAccess extends java.lang.Enum<ItemHandlerManager.EnumAccess>
Enum Constant and Description |
---|
BOTH
Full interaction is allowed.
|
EXTRACT |
INSERT |
NONE
An
IItemHandler that shouldn't be accessible by external sources. |
PHANTOM
Same as
NONE , but the contents of this inventory won't be dropped when the block is removed. |
Modifier and Type | Method and Description |
---|---|
static ItemHandlerManager.EnumAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemHandlerManager.EnumAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemHandlerManager.EnumAccess NONE
IItemHandler
that shouldn't be accessible by external sources.public static final ItemHandlerManager.EnumAccess PHANTOM
NONE
, but the contents of this inventory won't be dropped when the block is removed.
Additionally the items will be considered "free", and so items can be duplicated into these slotspublic static final ItemHandlerManager.EnumAccess INSERT
public static final ItemHandlerManager.EnumAccess EXTRACT
public static final ItemHandlerManager.EnumAccess BOTH
public static ItemHandlerManager.EnumAccess[] values()
for (ItemHandlerManager.EnumAccess c : ItemHandlerManager.EnumAccess.values()) System.out.println(c);
public static ItemHandlerManager.EnumAccess 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