Interface InvokePortalEvent.Enter
- All Superinterfaces:
Cancellable, Event, InvokePortalEvent
- Enclosing interface:
InvokePortalEvent
Called when entering a portal.
Cancel to prevent portal effects.
-
Nested Class Summary
Nested classes/interfaces inherited from interface InvokePortalEvent
InvokePortalEvent.Enter, InvokePortalEvent.Execute, InvokePortalEvent.Prepare -
Method Summary
Modifier and TypeMethodDescriptionGets the custom portal transition time in ticks.intGets the portal transition time in ticks.voidSets the custom portal transition time in ticks.Methods inherited from interface Cancellable
isCancelled, setCancelledMethods inherited from interface InvokePortalEvent
entity, portalLogic
-
Method Details
-
portalTransitionTime
int portalTransitionTime()Gets the portal transition time in ticks.- Returns:
- The portal transition time
-
customPortalTransitionTime
-
setCustomPortalTransitionTime
Sets the custom portal transition time in ticks.- Parameters:
ticks- The custom portal transition time
-