java.io.Serializable, java.lang.Comparable<PortalCreateEvent.CreateReason>public static enum PortalCreateEvent.CreateReason extends java.lang.Enum<PortalCreateEvent.CreateReason>
| Enum Constant | Description | 
|---|---|
| FIRE | When a portal is created 'traditionally' due to a portal frame
 being set on fire. | 
| OBC_DESTINATION | When a portal is created as a destination for an existing portal
 when using the custom PortalTravelAgent | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static PortalCreateEvent.CreateReason | valueOf(java.lang.String name) | Returns the enum constant of this type with the specified name. | 
| static PortalCreateEvent.CreateReason[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PortalCreateEvent.CreateReason FIRE
public static final PortalCreateEvent.CreateReason OBC_DESTINATION
public static PortalCreateEvent.CreateReason[] values()
for (PortalCreateEvent.CreateReason c : PortalCreateEvent.CreateReason.values()) System.out.println(c);
public static PortalCreateEvent.CreateReason 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 nullCopyright © 2018. All rights reserved.