Class VoiceKeywordSpokenEvent

java.lang.Object
org.bukkit.event.Event
fr.dreamin.dreamvoice.api.speech.event.VoiceKeywordSpokenEvent

public final class VoiceKeywordSpokenEvent extends org.bukkit.event.Event
Event fired when a player speaks a recognized keyword into their microphone.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    VoiceKeywordSpokenEvent(@NotNull org.bukkit.entity.Player player, @NotNull KeywordDefinition keyword, @NotNull String matchedWord, float confidence)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VoiceKeywordSpokenEvent

      public VoiceKeywordSpokenEvent(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull KeywordDefinition keyword, @NotNull @NotNull String matchedWord, float confidence)
  • Method Details

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()