Class PlayerHitWaterEvent

All Implemented Interfaces:
Cancellable

public final class PlayerHitWaterEvent extends PlayerWorldEditEvent
Called when a player hits water with a tool (e.g pickaxe).
  • Method Details

    • getHitPosition

      public Vector3f getHitPosition()
      Gets the coordinates where the water surface was hit exactly.
      Returns:
      coordinates where the water surface was hit.