Interface ScriptLoader.ScriptPreInitEvent

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.ScriptPreInitEvent extends ScriptLoader.LoaderEvent
Called when ScriptLoader is preparing to load Configs into Scripts.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method that is called when this event triggers.
  • Method Details

    • onPreInit

      void onPreInit(Collection<Config> configs)
      The method that is called when this event triggers. Modifications to the given collection will affect what is loaded.
      Parameters:
      configs - The Configs to be loaded.