| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.event.entity | |
| org.bukkit.event.player |
| Modifier and Type | Method and 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 and Description |
|---|---|
protected TravelAgent |
EntityPortalEvent.travelAgent |
| Modifier and Type | Method and Description |
|---|---|
TravelAgent |
EntityPortalEvent.getPortalTravelAgent()
Gets the Travel Agent used (or not) in this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityPortalEvent.setPortalTravelAgent(TravelAgent travelAgent)
Sets the Travel Agent used (or not) in this event.
|
| Constructor and Description |
|---|
EntityPortalEvent(Entity entity,
Location from,
Location to,
TravelAgent pta) |
| Modifier and Type | Field and Description |
|---|---|
protected TravelAgent |
PlayerPortalEvent.travelAgent |
| Modifier and Type | Method and Description |
|---|---|
TravelAgent |
PlayerPortalEvent.getPortalTravelAgent()
Gets the Travel Agent used (or not) in this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlayerPortalEvent.setPortalTravelAgent(TravelAgent travelAgent)
Sets the Travel Agent used (or not) in this event.
|
| Constructor and Description |
|---|
PlayerPortalEvent(Player player,
Location from,
Location to,
TravelAgent pta) |
PlayerPortalEvent(Player player,
Location from,
Location to,
TravelAgent pta,
PlayerTeleportEvent.TeleportCause cause) |
Copyright © 2015. All rights reserved.