Interface Cancellable

All Known Subinterfaces:
ISecurityVillagersInteractProtectionEvent, ISecurityVillagersProtectionChangeEvent, ISecurityVillagersSelectEvent
All Known Implementing Classes:
SecurityVillagersInteractProtectionEvent, SecurityVillagersProtectionChangeEvent, SecurityVillagersSelectEvent

public interface Cancellable
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Is the event cancelled?
    void
    setCancelled​(boolean cancel)
    Set the event as cancelled
  • Method Details

    • isCancelled

      boolean isCancelled()
      Is the event cancelled?
      Returns:
      true if the event is cancelled
    • setCancelled

      void setCancelled(boolean cancel)
      Set the event as cancelled
      Parameters:
      cancel - true to cancel