java.lang.Object
ch.njol.skript.lang.SkriptEvent
nl.mtvehicles.core.infrastructure.dependencies.skript.events.EvtHornUse
All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.SyntaxElement

@Name("Horn Use Event") @Description("Called when a horn is used") @Examples({"on horn use:","set {_driver} to event-player","set {_licensePlate} to event-text"}) public class EvtHornUse extends ch.njol.skript.lang.SkriptEvent
See Also:
HornUseEvent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check​(org.bukkit.event.Event e)
     
    boolean
    init​(ch.njol.skript.lang.Literal<?>[] args, int matchedPattern, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
     
    toString​(@Nullable org.bukkit.event.Event e, boolean debug)
     

    Methods inherited from class ch.njol.skript.lang.SkriptEvent

    getEventClasses, getEventPriority, init, isEventPrioritySupported, shouldLoadEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ch.njol.skript.lang.SyntaxElement

    getParser
  • Constructor Details

    • EvtHornUse

      public EvtHornUse()
  • Method Details

    • init

      public boolean init(ch.njol.skript.lang.Literal<?>[] args, int matchedPattern, ch.njol.skript.lang.SkriptParser.ParseResult parseResult)
      Specified by:
      init in class ch.njol.skript.lang.SkriptEvent
    • check

      public boolean check(org.bukkit.event.Event e)
      Specified by:
      check in class ch.njol.skript.lang.SkriptEvent
    • toString

      public String toString(@Nullable @Nullable org.bukkit.event.Event e, boolean debug)