Class BrigadierSuggestionsResponseEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.md_5.bungee.api.event.TargetedEvent
com.mrivanplays.ivancord.api.event.BrigadierSuggestionsResponseEvent
- All Implemented Interfaces:
Cancellable
-
Constructor Summary
ConstructorsConstructorDescriptionBrigadierSuggestionsResponseEvent(Connection sender, Connection receiver, com.mojang.brigadier.suggestion.Suggestions suggestions) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.suggestion.SuggestionsbooleanGet whether or not this event is cancelled.voidsetCancelled(boolean cancelled) Sets the cancelled state of this event.voidsetSuggestions(com.mojang.brigadier.suggestion.Suggestions suggestions) Methods inherited from class net.md_5.bungee.api.event.TargetedEvent
canEqual, equals, getReceiver, getSender, hashCode, toString
-
Constructor Details
-
BrigadierSuggestionsResponseEvent
public BrigadierSuggestionsResponseEvent(Connection sender, Connection receiver, com.mojang.brigadier.suggestion.Suggestions suggestions)
-
-
Method Details
-
isCancelled
public boolean isCancelled()Description copied from interface:CancellableGet whether or not this event is cancelled.- Specified by:
isCancelledin interfaceCancellable- Returns:
- the cancelled state of this event
-
getSuggestions
public com.mojang.brigadier.suggestion.Suggestions getSuggestions() -
setCancelled
public void setCancelled(boolean cancelled) Description copied from interface:CancellableSets the cancelled state of this event.- Specified by:
setCancelledin interfaceCancellable- Parameters:
cancelled- the state to set
-
setSuggestions
public void setSuggestions(com.mojang.brigadier.suggestion.Suggestions suggestions)
-