Interface TwoDimensionalPortal
- All Superinterfaces:
Portal
Represents a
Portal
with a known shape.-
Method Summary
Modifier and TypeMethodDescriptionOne corner of the portal.default ServerLocation
One corner of the portal.Methods inherited from interface org.spongepowered.api.world.portal.Portal
destination, origin, type
-
Method Details
-
minCorner
One corner of the portal.- Returns:
- A location with the corner
-
maxCorner
ServerLocation maxCorner()One corner of the portal.- Returns:
- A location with the corner
-