Serializable, Comparable<PortalCreateEvent.CreateReason>public static enum PortalCreateEvent.CreateReason extends Enum<PortalCreateEvent.CreateReason>
| Enum Constant | Description | 
|---|---|
| END_PLATFORM | When the target end platform is created as a result of a player
 entering an end portal. | 
| FIRE | When the blocks inside a portal are created due to a portal frame
 being set on fire. | 
| NETHER_PAIR | When a nether portal frame and portal is created at the exit of an
 entered nether portal. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static PortalCreateEvent.CreateReason | valueOf(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 NETHER_PAIR
public static final PortalCreateEvent.CreateReason END_PLATFORM
public static PortalCreateEvent.CreateReason[] values()
for (PortalCreateEvent.CreateReason c : PortalCreateEvent.CreateReason.values()) System.out.println(c);
public static PortalCreateEvent.CreateReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.