-
Notifications
You must be signed in to change notification settings - Fork 5
Scripting API Script
github-actions[bot] edited this page Jul 15, 2026
·
1 revision
Generated from the current Java source. Do not edit this page by hand.
Declaration: public class Script implements Closeable
Source: src/main/java/dev/adventurecraft/awakening/script/Script.java
Implements: Closeable
| Signature | Status | Source |
|---|---|---|
public Script(Level level) |
Current | line 72 |
| Signature | Status | Source |
|---|---|---|
public final Scriptable globalScope; |
Current | line 37 |
public final ScriptKeyboard keyboard; |
Current | line 55 |
| Signature | Status | Source |
|---|---|---|
public Context getContext() |
Current | line 140 |
public Scriptable getNewScope() |
Current | line 194 |
| Signature | Status | Source |
|---|---|---|
public void addObject(String name, Object value) |
Current | line 149 |
public void initPlayer(LocalPlayer player) |
Current | line 154 |
public String runString(String sourceCode, String sourceName) |
Current | line 160 |
public org.mozilla.javascript.Script compileString(String sourceCode, String sourceName) |
Current | line 184 |
public Object runScript(org.mozilla.javascript.Script script, Scriptable scope) |
Current | line 200 |
public void processContinuations() |
Current | line 223 |
public void sleep(float seconds) |
Current | line 263 |
public void close() |
Current | line 276 |
Scripting-API-ScopeTag · Scripting-API · Scripting-API-ScriptChat
Applies to AC-Legacy 0.6.0 at source revision 439dbe5b157d. Current documentation is generated from the AC-Legacy-Mod source. Historical baseline links point to the AdventureCraft Fandom wiki, whose text is reported as CC-BY-SA. See Fact Checking and Provenance and Verification Status.
AC-Legacy Wiki
Use and authoring
Generated reference
Project and provenance