Skip to content

Scripting API ScriptWorld

github-actions[bot] edited this page Jul 15, 2026 · 1 revision

Script API: ScriptWorld

Generated from the current Java source. Do not edit this page by hand.

Scripting-API

Declaration: public class ScriptWorld Source: src/main/java/dev/adventurecraft/awakening/script/ScriptWorld.java

Setters

Signature Status Source
public void setBlockID(int x, int y, int z, int id) Current line 27
public void setMetadata(int x, int y, int z, int meta) Current line 35
public void setBlockIDAndMetadata(int x, int y, int z, int id, int meta) Current line 39
public void setTriggerArea(int x, int y, int z, int aX, int aY, int aZ, int bX, int bY, int bZ) Current line 57
public void setTriggerArea(int x, int y, int z, int id, int aX, int aY, int aZ, int bX, int bY, int bZ) Current line 62

Other methods

Signature Status Source
public int getBlockID(int x, int y, int z) Current line 23
public int getMetadata(int x, int y, int z) Current line 31
public float getLightValue(int x, int y, int z) Current line 43
public void triggerBlock(int x, int y, int z) Current line 47
public void triggerArea(int aX, int aY, int aZ, int bX, int bY, int bZ) Current line 51
public void removeTriggerArea(int x, int y, int z, int id) Current line 67
public void removeTriggerAreas(int x, int y, int z) Current line 71
public ScriptEntity spawnEntity(String entityType, double x, double y, double z) Current line 75
public ScriptEntity getEntityByID(int id) Current line 85
public Object[] rayTraceBlocks(ScriptVec3 pointA, ScriptVec3 pointB) Current line 89
public Object[] rayTraceBlocks(double aX, double aY, double aZ, double bX, double bY, double bZ) Current line 93
public Object[] rayTrace(ScriptVec3 pointA, ScriptVec3 pointB) Current line 103
public Object[] rayTrace(double aX, double aY, double aZ, double bX, double bY, double bZ) Current line 107

Scripting-API-ScriptWeather · Scripting-API · Scripting-API-Timers

Clone this wiki locally