Interface ScriptEvent.ScriptActiveEvent
- All Superinterfaces:
ScriptEvent
- Enclosing interface:
ScriptEvent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A ScriptEvent that is called when a Script is made active in a
ParserInstance
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.skriptlang.skript.lang.script.ScriptEvent
ScriptEvent.ScriptActiveEvent, ScriptEvent.ScriptInactiveEvent
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when this Script is made active in aParserInstance
.
-
Method Details
-
onActive
Called when this Script is made active in aParserInstance
.- Parameters:
oldScript
- The Script that was just made inactive. Null if theParserInstance
handling this Script was notParserInstance.isActive()
(it is becoming active).
-