Interface PortalLogic.PortalGenerator
- Enclosing interface:
- PortalLogic
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- 
Method SummaryModifier and TypeMethodDescriptiongeneratePortal(ServerLocation location, Axis axis) Attempts to generate the portal at thelocation.
- 
Method Details- 
generatePortalAttempts to generate the portal at thelocation.It is left up to the discretion of the implementer how this is done. Portals come in all shapes and sizes or none at all. The location and axis are meant to be hints and should not be considered to be the exact final location/orientation of the resulting portal. - Parameters:
- location- The location
- axis- The axis
- Returns:
- the adjusted teleport location if generated
 
 
-