Interface Portal
- All Known Subinterfaces:
 TwoDimensionalPortal
Represents a portal, such as a 
nether portal.- 
Method Summary
Modifier and TypeMethodDescriptionThelocationthis portal goes to.origin()Thelocationthis portal is at.type()ThePortalType. 
- 
Method Details
- 
type
PortalType type()ThePortalType.- Returns:
 - The type
 
 - 
origin
ServerLocation origin()Thelocationthis portal is at.- Returns:
 - The origin
 
 - 
destination
Optional<ServerLocation> destination()Thelocationthis portal goes to.- Returns:
 - The destination or 
Optional.empty()if unknown 
 
 -