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

public class BrigadierSuggestionsResponseEvent extends TargetedEvent implements Cancellable
  • 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: Cancellable
      Get whether or not this event is cancelled.
      Specified by:
      isCancelled in interface Cancellable
      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: Cancellable
      Sets the cancelled state of this event.
      Specified by:
      setCancelled in interface Cancellable
      Parameters:
      cancelled - the state to set
    • setSuggestions

      public void setSuggestions(com.mojang.brigadier.suggestion.Suggestions suggestions)