Package ch.njol.skript
Interface ScriptLoader.ScriptInitEvent
- All Superinterfaces:
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.ScriptInitEvent
extends ScriptLoader.LoaderEvent
Called when a
Script
is created and preloaded in the ScriptLoader
.
The initializing script may contain Structure
s that are not fully loaded.- See Also:
-
Method Summary
-
Method Details
-
onInit
The method that is called when this event triggers.- Parameters:
script
- The Script being initialized.
-