Interface ProcessInteractBlockEvent

All Superinterfaces:
net.kyori.event.Cancellable, ClaimEvent, Event

public interface ProcessInteractBlockEvent extends ClaimEvent, net.kyori.event.Cancellable
Represents an event that is called before GD processes a player block interaction through its permission manager.

If this event is cancelled, GD will avoid processing the block. Plugins should cancel this event if they want to prevent GriefDefender from protecting a specific block or block location.

  • Method Details

    • getClickedBlockLocation

      Object getClickedBlockLocation()
      The clicked block location.
      Returns:
      The click block location.
    • getUser

      User getUser()
      Get the user interacting with block.