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