Class MovementInputUpdateEvent


public class MovementInputUpdateEvent extends PlayerEvent

Fired after the player's movement inputs are updated.

This event is not cancellable, and does not have a result.

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

  • Field Details

    • input

      private final Input input
  • Constructor Details

    • MovementInputUpdateEvent

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

    • getInput

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