Interface InvokePortalEvent.Prepare
- All Superinterfaces:
- Cancellable,- Event,- InvokePortalEvent
- Enclosing interface:
- InvokePortalEvent
Called before calculating and finding or generating the portal exit.
 Canceling resets the portal transition time
 Setting custom portal logic can change the teleport behaviour.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.spongepowered.api.event.entity.InvokePortalEventInvokePortalEvent.Enter, InvokePortalEvent.Execute, InvokePortalEvent.Prepare
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetPortalLogic(PortalLogic portal) Sets thePortalLogicto use.Methods inherited from interface org.spongepowered.api.event.CancellableisCancelled, setCancelledMethods inherited from interface org.spongepowered.api.event.entity.InvokePortalEvententity, portalLogic
- 
Method Details- 
setPortalLogicSets thePortalLogicto use.- Parameters:
- portal- The portal logic
 
 
-