Interface InvokePortalEvent.Execute

All Superinterfaces:
Cancellable, ChangeEntityWorldEvent, ChangeEntityWorldEvent.Reposition, Event, InvokePortalEvent, MoveEntityEvent, RotateEntityEvent
Enclosing interface:
InvokePortalEvent

public static interface InvokePortalEvent.Execute extends InvokePortalEvent, ChangeEntityWorldEvent.Reposition, RotateEntityEvent
Called after a PortalLogic calculated and found or generated the portal exit. Note that ChangeEntityWorldEvent still fire after this.
  • Method Details

    • exitSpeed

      Vector3d exitSpeed()
      Gets the exit speed.
      Returns:
      The exit speed
    • setExitSpeed

      void setExitSpeed(Vector3d speed)
      Sets the exit speed.
      Parameters:
      speed - The exit speed