Interface Cancellable
- All Known Subinterfaces:
ISecurityVillagersInteractProtectionEvent,ISecurityVillagersProtectionChangeEvent,ISecurityVillagersSelectEvent
- All Known Implementing Classes:
SecurityVillagersInteractProtectionEvent,SecurityVillagersProtectionChangeEvent,SecurityVillagersSelectEvent
public interface Cancellable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the event cancelled?voidsetCancelled(boolean cancel)Set the event as cancelled
-
Method Details
-
isCancelled
boolean isCancelled()Is the event cancelled?- Returns:
trueif the event is cancelled
-
setCancelled
void setCancelled(boolean cancel)Set the event as cancelled- Parameters:
cancel-trueto cancel
-