Class EvtHornUse
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
-
Method Summary
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 classch.njol.skript.lang.SkriptEvent
-
check
public boolean check(org.bukkit.event.Event e)- Specified by:
check
in classch.njol.skript.lang.SkriptEvent
-
toString
-