Class MovementInputUpdateEvent


public class MovementInputUpdateEvent extends PlayerEvent

Fired after the player's movement inputs are updated.

This event is not

invalid reference
cancellable
, and does not
invalid reference
have a result
.

This event is fired on the main Forge event bus, only on the logical client.

  • Field Details Link icon

    • input Link icon

      private final Input input
  • Constructor Details Link icon

    • MovementInputUpdateEvent Link icon

      @Internal public MovementInputUpdateEvent(Player player, Input input)
  • Method Details Link icon

    • getInput Link icon

      public Input getInput()
      Returns the player's movement inputs.
      Returns:
      the player's movement inputs