Package com.griefdefender.api.event
Interface ProcessInteractBlockEvent
- All Superinterfaces:
net.kyori.event.Cancellable,ClaimEvent,Event
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 Summary
Modifier and TypeMethodDescriptionThe clicked block location.getUser()Get the user interacting with block.Methods inherited from interface net.kyori.event.Cancellable
cancelled, cancelledMethods inherited from interface com.griefdefender.api.event.ClaimEvent
getClaim, getClaims, getMessage, getSource, getSourceUser, setMessage