Class PlayerRemoveGrassEvent

All Implemented Interfaces:
Cancellable

public final class PlayerRemoveGrassEvent extends PlayerWorldEditEvent
Called when a player removes/cuts grass.
  • Method Details

    • getGrassID

      public int getGrassID()
      Gets the grass id the player is going to destroy/remove.
      Returns:
      the old grass id.