Interface ScriptEvent.ScriptInactiveEvent

All Superinterfaces:
Enclosing interface:
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 ScriptEvent.ScriptInactiveEvent extends ScriptEvent
A ScriptEvent that is called when a Script is made inactive in a ParserInstance.
  • Method Details

    • onInactive

      void onInactive(@Nullable Script newScript)
      Called when this Script is made inactive in a ParserInstance.
      newScript - The Script that will be made active after this one is completely inactive. Null if the ParserInstance handling this Script will not be ParserInstance.isActive() (will become inactive).