Interface TwoDimensionalPortal
-
- All Superinterfaces:
Portal
@DoNotStore public interface TwoDimensionalPortal extends Portal
Represents aPortal
with a known shape.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServerLocation
maxCorner()
One corner of the portal.default ServerLocation
minCorner()
One corner of the portal.-
Methods inherited from interface org.spongepowered.api.world.portal.Portal
destination, origin, type
-
-
-
-
Method Detail
-
minCorner
default ServerLocation 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
-
-