public static enum IMapLocation.MapLocationType extends java.lang.Enum<IMapLocation.MapLocationType>
Enum Constant and Description |
---|
AREA |
CLEAN |
PATH |
PATH_REPEATING
Like PATH but repeats around in a loop.
|
SPOT |
ZONE |
Modifier and Type | Field and Description |
---|---|
int |
meta |
Modifier and Type | Method and Description |
---|---|
static IMapLocation.MapLocationType |
getFromStack(net.minecraft.item.ItemStack stack) |
void |
setToStack(net.minecraft.item.ItemStack stack) |
static IMapLocation.MapLocationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMapLocation.MapLocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMapLocation.MapLocationType CLEAN
public static final IMapLocation.MapLocationType SPOT
public static final IMapLocation.MapLocationType AREA
public static final IMapLocation.MapLocationType PATH
public static final IMapLocation.MapLocationType ZONE
public static final IMapLocation.MapLocationType PATH_REPEATING
public static IMapLocation.MapLocationType[] values()
for (IMapLocation.MapLocationType c : IMapLocation.MapLocationType.values()) System.out.println(c);
public static IMapLocation.MapLocationType 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 static IMapLocation.MapLocationType getFromStack(@Nonnull net.minecraft.item.ItemStack stack)
public void setToStack(@Nonnull net.minecraft.item.ItemStack stack)