| Package | Description | 
|---|---|
| org.bukkit.event.world | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull PortalCreateEvent.CreateReason | PortalCreateEvent. getReason() | Gets the reason for the portal's creation | 
| static PortalCreateEvent.CreateReason | PortalCreateEvent.CreateReason. valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static PortalCreateEvent.CreateReason[] | PortalCreateEvent.CreateReason. values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Constructor | Description | 
|---|---|
| PortalCreateEvent(@NotNull List<BlockState> blocks,
                 @NotNull World world,
                 @NotNull PortalCreateEvent.CreateReason reason) | Deprecated.  | 
| PortalCreateEvent(@NotNull List<BlockState> blocks,
                 @NotNull World world,
                 @Nullable Entity entity,
                 @NotNull PortalCreateEvent.CreateReason reason) | 
Copyright © 2020. All rights reserved.