@ApiStatus.Experimental public class SuggestionExecutorEvent extends java.lang.Object implements SuggestionNodeEvent
| Constructor and Description |
|---|
SuggestionExecutorEvent(Invocation<?> invocation,
CommandExecutor<?> executor) |
| Modifier and Type | Method and Description |
|---|---|
CommandExecutor<?> |
getCommandExecutor() |
Invocation<?> |
getInvocation() |
CommandNode<?> |
getNode() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
public SuggestionExecutorEvent(Invocation<?> invocation, CommandExecutor<?> executor)
public CommandExecutor<?> getCommandExecutor()
public Invocation<?> getInvocation()
getInvocation in interface SuggestionNodeEventpublic CommandNode<?> getNode()
getNode in interface SuggestionNodeEventpublic void setCancelled(boolean cancelled)
setCancelled in interface SuggestionNodeEventpublic boolean isCancelled()
isCancelled in interface SuggestionNodeEvent