Class PlayerRemoveWaterEvent

All Implemented Interfaces:
Cancellable

public final class PlayerRemoveWaterEvent extends PlayerWorldEditEvent
Called when a player removes water.
  • Method Details

    • getWaterID

      public int getWaterID()
      Gets the id of the water block the player is going to destroy.
      Returns:
      the old water block id.