Package ch.njol.skript
Interface ScriptLoader.ScriptLoadEvent
- All Superinterfaces:
Event
,Script.Event
,ScriptLoader.LoaderEvent
- Enclosing class:
ScriptLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ScriptLoader.ScriptLoadEvent
extends ScriptLoader.LoaderEvent, Script.Event
Called when a
Script
is loaded in the ScriptLoader
.
This event will trigger after the script is completely loaded (Structure
initialization finished).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLoad
(ParserInstance parser, Script script) The method that is called when this event triggers.
-
Method Details
-
onLoad
The method that is called when this event triggers.- Parameters:
parser
- The ParserInstance handling the loading ofscript
.script
- The Script being loaded.
-