Class PlayerDestroyTerrainEvent

All Implemented Interfaces:
Cancellable

public final class PlayerDestroyTerrainEvent extends PlayerWorldEditEvent
Called when a player digs a hole, i.e destroys terrain.
  • Method Details

    • getTerrainID

      public int getTerrainID()
      Gets the terrain id the player is going to destroy.
      Returns:
      the old terrain id.