Class GroovyScriptEngineModifyEvent
java.lang.Object
net.neoforged.bus.api.Event
de.luckymcdev.foundryengine.common.script.event.GroovyScriptEngineModifyEvent
public class GroovyScriptEngineModifyEvent
extends net.neoforged.bus.api.Event
Event posted once when the global
ScriptShell is initialized.
Allows modification of the shared CompilerConfiguration
before any bundle scripts are compiled.-
Constructor Summary
ConstructorsConstructorDescriptionGroovyScriptEngineModifyEvent(ScriptShell scriptShell, org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.groovy.control.CompilerConfiguration
-
Constructor Details
-
GroovyScriptEngineModifyEvent
public GroovyScriptEngineModifyEvent(ScriptShell scriptShell, org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration)
-
-
Method Details
-
getScriptShell
-
getCompilerConfiguration
public org.codehaus.groovy.control.CompilerConfiguration getCompilerConfiguration()
-