Package net.draycia.carbon.api.event
Interface Cancellable
- All Known Subinterfaces:
CarbonChatEvent,CarbonPrivateChatEvent
public interface Cancellable
Marks an event as cancellable.
- Since:
- 3.0.0
-
Method Summary
-
Method Details
-
cancelled
boolean cancelled()Gets if the event is cancelled.- Returns:
- if the event is cancelled
- Since:
- 3.0.0
-
cancelled
void cancelled(boolean cancelled) Sets the cancelled state.- Parameters:
cancelled- new cancelled state- Since:
- 3.0.0
-