Interface ScriptEvent.ScriptInactiveEvent
- 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 inactive 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 TypeMethodDescriptionvoidonInactive(@Nullable Script newScript) Called when this Script is made inactive in aParserInstance.
-
Method Details
-
onInactive
Called when this Script is made inactive in aParserInstance.- Parameters:
newScript- The Script that will be made active after this one is completely inactive. Null if theParserInstancehandling this Script will not beParserInstance.isActive()(will become inactive).
-