Package | Description |
---|---|
org.bukkit.event.world |
Modifier and Type | Method and 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 and Description |
---|
PortalCreateEvent(@NotNull List<BlockState> blocks,
@NotNull World world,
@Nullable Entity entity,
@NotNull PortalCreateEvent.CreateReason reason) |
PortalCreateEvent(@NotNull List<BlockState> blocks,
@NotNull World world,
@NotNull PortalCreateEvent.CreateReason reason)
Deprecated.
|
Copyright © 2021. All rights reserved.