Interface PortalLogic.PortalExitCalculator
- 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 Summary
Modifier and TypeMethodDescriptioncalculatePortalExit(ServerWorld from, Vector3i fromPos, Entity entity) Calculates a desired portal exit location to find an existing portal usingPortalLogic.PortalFinderor generate a new one usingPortalLogic.PortalGeneratorinPortalLogic
-
Method Details
-
calculatePortalExit
Calculates a desired portal exit location to find an existing portal usingPortalLogic.PortalFinderor generate a new one usingPortalLogic.PortalGeneratorinPortalLogic- Parameters:
from- the original worldfromPos- the original positionentity- the entity- Returns:
- the exit location if available
-