public interface TeleportCause
DisplaceEntityEvent.Teleport
such that there is an
associated TeleportType
and possibly, an object associated with the
type.
Examples may include EntityTeleportCause
for an Enderman
teleporting away from rain, or a Entity
entering a nether portal.Modifier and Type | Method and Description |
---|---|
TeleportType |
getTeleportType()
Gets the type of the teleport.
|
TeleportType getTeleportType()