| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.event.entity | |
| org.bukkit.event.player |
| Modifier and Type | Method | Description |
|---|---|---|
TravelAgent |
TravelAgent.setCreationRadius(int radius) |
Sets the maximum radius from the given location to create a portal.
|
TravelAgent |
TravelAgent.setSearchRadius(int radius) |
Set the Block radius to search in for available portals.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected TravelAgent |
EntityPortalEvent.travelAgent |
| Modifier and Type | Method | Description |
|---|---|---|
TravelAgent |
EntityPortalEvent.getPortalTravelAgent() |
Gets the Travel Agent used (or not) in this event.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
EntityPortalEvent.setPortalTravelAgent(TravelAgent travelAgent) |
Sets the Travel Agent used (or not) in this event.
|
| Constructor | Description |
|---|---|
EntityPortalEvent(Entity entity,
Location from,
Location to,
TravelAgent pta) |
| Modifier and Type | Field | Description |
|---|---|---|
protected TravelAgent |
PlayerPortalEvent.travelAgent |
| Modifier and Type | Method | Description |
|---|---|---|
TravelAgent |
PlayerPortalEvent.getPortalTravelAgent() |
Gets the Travel Agent used (or not) in this event.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
PlayerPortalEvent.setPortalTravelAgent(TravelAgent travelAgent) |
Sets the Travel Agent used (or not) in this event.
|
| Constructor | Description |
|---|---|
PlayerPortalEvent(Player player,
Location from,
Location to,
TravelAgent pta) |
|
PlayerPortalEvent(Player player,
Location from,
Location to,
TravelAgent pta,
PlayerTeleportEvent.TeleportCause cause) |
Copyright © 2020. All rights reserved.