Package ch.njol.skript
Class SkriptEventHandler
java.lang.Object
ch.njol.skript.SkriptEventHandler
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A event listener for one priority. -
Field Summary
Modifier and TypeFieldDescriptionEvents which are listened even if they are cancelled. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Stores a self registered trigger to allow for it to be unloaded later on.static void
addTrigger(Class<? extends org.bukkit.event.Event>[] events, Trigger trigger)
static boolean
containsSuperclass(Set<Class<?>> classes, Class<?> c)
static void
static void
logEventStart(org.bukkit.event.Event e)
static void
logTriggerEnd(Trigger t)
static void
-
Field Details
-
listenCancelled
Events which are listened even if they are cancelled.
-
-
Constructor Details
-
SkriptEventHandler
public SkriptEventHandler()
-
-
Method Details
-
logEventStart
public static void logEventStart(org.bukkit.event.Event e) -
logEventEnd
public static void logEventEnd() -
logTriggerStart
-
logTriggerEnd
-
addTrigger
-
addSelfRegisteringTrigger
Stores a self registered trigger to allow for it to be unloaded later on.- Parameters:
t
- Trigger that has already been registered to its event
-
containsSuperclass
-