net.minecraftforge.event.terraingen
Enum InitMapGenEvent.EventType
java.lang.Object
java.lang.Enum<InitMapGenEvent.EventType>
net.minecraftforge.event.terraingen.InitMapGenEvent.EventType
- All Implemented Interfaces:
- Serializable, Comparable<InitMapGenEvent.EventType>
- Enclosing class:
- InitMapGenEvent
public static enum InitMapGenEvent.EventType
- extends Enum<InitMapGenEvent.EventType>
Use CUSTOM to filter custom event types
CAVE
public static final InitMapGenEvent.EventType CAVE
MINESHAFT
public static final InitMapGenEvent.EventType MINESHAFT
NETHER_BRIDGE
public static final InitMapGenEvent.EventType NETHER_BRIDGE
NETHER_CAVE
public static final InitMapGenEvent.EventType NETHER_CAVE
RAVINE
public static final InitMapGenEvent.EventType RAVINE
SCATTERED_FEATURE
public static final InitMapGenEvent.EventType SCATTERED_FEATURE
STRONGHOLD
public static final InitMapGenEvent.EventType STRONGHOLD
VILLAGE
public static final InitMapGenEvent.EventType VILLAGE
CUSTOM
public static final InitMapGenEvent.EventType CUSTOM
values
public static InitMapGenEvent.EventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InitMapGenEvent.EventType c : InitMapGenEvent.EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InitMapGenEvent.EventType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null