@ApiStatus.Experimental public class SuggestionCommandRouteEvent extends java.lang.Object implements SuggestionNodeEvent
| Constructor and Description |
|---|
SuggestionCommandRouteEvent(Invocation<?> invocation,
CommandRoute<?> commandRoute) |
| Modifier and Type | Method and Description |
|---|---|
CommandRoute<?> |
getCommandRoute() |
Invocation<?> |
getInvocation() |
CommandNode<?> |
getNode() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
public SuggestionCommandRouteEvent(Invocation<?> invocation, CommandRoute<?> commandRoute)
public CommandRoute<?> getCommandRoute()
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