-
Notifications
You must be signed in to change notification settings - Fork 5
Scripting API ScriptModelBase
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 abstract class ScriptModelBase implements ScriptColor
Source: src/main/java/dev/adventurecraft/awakening/script/ScriptModelBase.java
Implements: [[Scripting-API-ScriptColor|ScriptColor]]
| Signature | Status | Source |
|---|---|---|
public ScriptEntity attachedTo; |
Current | line 22 |
public ScriptModelBase modelAttachment; |
Current | line 23 |
public String texture; |
Current | line 24 |
public double prevX; |
Current | line 26 |
public double prevY; |
Current | line 27 |
public double prevZ; |
Current | line 28 |
public float prevYaw; |
Current | line 29 |
public float prevPitch; |
Current | line 30 |
public float prevRoll; |
Current | line 31 |
public double x; |
Current | line 34 |
public double y; |
Current | line 35 |
public double z; |
Current | line 36 |
public float yaw; |
Current | line 37 |
public float pitch; |
Current | line 38 |
public float roll; |
Current | line 39 |
public int colorMode; |
Current | line 41 |
| Signature | Status | Source |
|---|---|---|
public ScriptVec3 getPosition() |
Current | line 198 |
public ScriptVec3 getRotation() |
Current | line 260 |
public ScriptVec4 getColor() |
Current | line 265 |
public double getColorRed() |
Deprecated | line 278 |
public double getColorGreen() |
Deprecated | line 288 |
public double getColorBlue() |
Deprecated | line 298 |
public double getColorAlpha() |
Deprecated | line 308 |
public int getModes() |
Deprecated | line 318 |
| Signature | Status | Source |
|---|---|---|
public void setBrightness(float brightness) |
Current | line 164 |
public void setBrightness(int brightness) |
Current | line 168 |
public void setRGB(double r, double g, double b) |
Deprecated | line 173 |
public void setRGBA(double r, double g, double b, double a) |
Deprecated | line 180 |
public void setPosition(double x, double y, double z) |
Current | line 187 |
public void setPosition(ScriptVec3 vec) |
Current | line 194 |
public void setRotation(float yaw, float pitch, float roll) |
Current | line 249 |
public void setRotation(ScriptVec3 vec) |
Current | line 256 |
public void setColor(ScriptVec4 value) |
Current | line 270 |
public void setColorRed(double value) |
Deprecated | line 283 |
public void setColorGreen(double value) |
Deprecated | line 293 |
public void setColorBlue(double value) |
Deprecated | line 303 |
public void setColorAlpha(double value) |
Deprecated | line 313 |
public void setModes(int value) |
Deprecated | line 323 |
| Signature | Status | Source |
|---|---|---|
public void removeFromRendering() |
Current | line 156 |
public void addToRendering() |
Current | line 160 |
public void moveTo(double x, double y, double z) |
Current | line 202 |
public void moveBy(double x, double y, double z) |
Current | line 208 |
public void rotateTo(float yaw, float pitch, float roll) |
Current | line 236 |
public void rotateBy(float yaw, float pitch, float roll) |
Current | line 242 |
public static void renderAll(float partialTick, Matrix4f transform) |
Current | line 329 |
public static void updateAll() |
Current | line 342 |
public static void clearAll() |
Current | line 348 |
Scripting-API-ScriptModel · Scripting-API · Scripting-API-ScriptModelBlockbench
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