-
Notifications
You must be signed in to change notification settings - Fork 5
Scripting API ScriptVec4
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 ScriptVec4
Source: src/main/java/dev/adventurecraft/awakening/script/ScriptVec4.java
| Signature | Status | Source |
|---|---|---|
public ScriptVec4(double x, double y, double z, double w) |
Current | line 10 |
public ScriptVec4(double value) |
Current | line 17 |
public ScriptVec4(ScriptVec3 xyz, double w) |
Current | line 24 |
| Signature | Status | Source |
|---|---|---|
public double x; |
Current | line 5 |
public double y; |
Current | line 6 |
public double z; |
Current | line 7 |
public double w; |
Current | line 8 |
| Signature | Status | Source |
|---|---|---|
public ScriptVec3 getXyz() |
Current | line 72 |
public double getR() |
Current | line 88 |
public double getG() |
Current | line 96 |
public double getB() |
Current | line 104 |
public double getA() |
Current | line 112 |
| Signature | Status | Source |
|---|---|---|
public void setXyz(ScriptVec3 values) |
Current | line 76 |
public void setXyz(ScriptVec4 values) |
Current | line 82 |
public void setR(double value) |
Current | line 92 |
public void setG(double value) |
Current | line 100 |
public void setB(double value) |
Current | line 108 |
public void setA(double value) |
Current | line 116 |
| Signature | Status | Source |
|---|---|---|
public ScriptVec4 add(ScriptVec4 vec) |
Current | line 31 |
public ScriptVec4 subtract(ScriptVec4 vec) |
Current | line 39 |
public double length() |
Current | line 47 |
public double distance(ScriptVec4 vec) |
Current | line 51 |
public ScriptVec4 scale(double value) |
Current | line 59 |
public ScriptVec4 clone() |
Current | line 68 |
Scripting-API-ScriptVec3 · Scripting-API · Scripting-API-ScriptVecRot
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