Interface MessageCancellable
- 
- All Known Subinterfaces:
- AdvancementEvent.Grant,- DestructEntityEvent,- DestructEntityEvent.Death,- ServerSideConnectionEvent.Join
 
 public interface MessageCancellableRepresents an event whose message can be cancelled.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisMessageCancelled()Returns true if theComponentshould not be sent.voidsetMessageCancelled(boolean cancelled)Sets whether theComponentshould be sent.
 
- 
- 
- 
Method Detail- 
isMessageCancelledboolean isMessageCancelled() Returns true if theComponentshould not be sent.- Returns:
- True if message should not be sent
 
 - 
setMessageCancelledvoid setMessageCancelled(boolean cancelled) Sets whether theComponentshould be sent.- Parameters:
- cancelled- True if should not be sent
 
 
- 
 
-