Interface PlanFabricEvents.OnMove

Enclosing class:
PlanFabricEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PlanFabricEvents.OnMove
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMove(net.minecraft.server.network.ServerPlayNetworkHandler handler, net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket packet)
    Called when a sends a valid movement packet
  • Method Details

    • onMove

      void onMove(net.minecraft.server.network.ServerPlayNetworkHandler handler, net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket packet)
      Called when a sends a valid movement packet
      Parameters:
      handler - the handler of the sending player
      packet - the send packet