Skip to content

Scripting API UIElement

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

Script API: UIElement

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

Scripting-API

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

Constructors

Signature Status Source
public UIElement(double x, double y) Current line 19
public UIElement() Current line 26

Fields

Signature Status Source
public double curX; Current line 12
public double curY; Current line 13
public double prevX; Current line 14
public double prevY; Current line 15

Getters

Signature Status Source
public double getX() Current line 62
public double getY() Current line 70

Setters

Signature Status Source
public void setX(double x) Current line 66
public void setY(double y) Current line 74

Other methods

Signature Status Source
public void addToScreen() Current line 30
public void removeFromScreen() Current line 36
public void pushToFront() Current line 42
public void pushToBack() Current line 48
public void render(Font font, Textures textures, float deltaTime) Current line 54
public void onUpdate() Current line 57
public void moveTo(double x, double y) Current line 86
public void moveBy(double x, double y) Current line 91

Scripting-API-Timers · Scripting-API

Clone this wiki locally