Interface Cancellable

All Known Implementing Classes:
ClientCommandEvent

public interface Cancellable
An event whose default action, what Project Zomboid does after the event, can be prevented. Only listeners on the main thread can cancel: the default action runs once every main-thread listener returned. Every listener is called, also after one cancelled.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Prevents the default action.
    boolean
     
  • Method Details

    • cancel

      void cancel()
      Prevents the default action.
    • isCancelled

      boolean isCancelled()