public interface CancelMessage extends Cancellable
Modifier and Type | Method and Description |
---|---|
Optional<Text> |
getCancelMessage()
The message to send to the player if the event is cancelled, if any.
|
void |
setCancelMessage(Text message)
The message to display to the user if the event is cancelled, or
null to clear. |
isCancelled, setCancelled