public static enum ItemSnapshot.EnumItemSnapshotType extends java.lang.Enum<ItemSnapshot.EnumItemSnapshotType> implements net.minecraft.util.IStringSerializable
Enum Constant and Description |
---|
BLUEPRINT_CLEAN |
BLUEPRINT_USED |
TEMPLATE_CLEAN |
TEMPLATE_USED |
Modifier and Type | Field and Description |
---|---|
EnumSnapshotType |
snapshotType |
boolean |
used |
Modifier and Type | Method and Description |
---|---|
static ItemSnapshot.EnumItemSnapshotType |
get(EnumSnapshotType snapshotType,
boolean used) |
static ItemSnapshot.EnumItemSnapshotType |
getFromStack(net.minecraft.item.ItemStack stack) |
java.lang.String |
getName() |
static ItemSnapshot.EnumItemSnapshotType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemSnapshot.EnumItemSnapshotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemSnapshot.EnumItemSnapshotType TEMPLATE_CLEAN
public static final ItemSnapshot.EnumItemSnapshotType TEMPLATE_USED
public static final ItemSnapshot.EnumItemSnapshotType BLUEPRINT_CLEAN
public static final ItemSnapshot.EnumItemSnapshotType BLUEPRINT_USED
public final EnumSnapshotType snapshotType
public final boolean used
public static ItemSnapshot.EnumItemSnapshotType[] values()
for (ItemSnapshot.EnumItemSnapshotType c : ItemSnapshot.EnumItemSnapshotType.values()) System.out.println(c);
public static ItemSnapshot.EnumItemSnapshotType 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 java.lang.String getName()
getName
in interface net.minecraft.util.IStringSerializable
public static ItemSnapshot.EnumItemSnapshotType get(EnumSnapshotType snapshotType, boolean used)
public static ItemSnapshot.EnumItemSnapshotType getFromStack(net.minecraft.item.ItemStack stack)