Class ColoredLitInstance
java.lang.Object
dev.engine_room.flywheel.lib.instance.AbstractInstance
dev.engine_room.flywheel.lib.instance.ColoredLitInstance
- Direct Known Subclasses:
ColoredLitOverlayInstance
-
Field Summary
FieldsFields inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
handle, type -
Constructor Summary
ConstructorsConstructorDescriptionColoredLitInstance(InstanceType<? extends ColoredLitInstance> type, InstanceHandle handle) -
Method Summary
Modifier and TypeMethodDescriptioncolor(byte red, byte green, byte blue) color(byte red, byte green, byte blue, byte alpha) color(float red, float green, float blue) color(float red, float green, float blue, float alpha) color(int red, int green, int blue) color(int red, int green, int blue, int alpha) colorArgb(int argb) colorRgb(int rgb) light(int light) Set the packed light value for this instance.Methods inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
delete, handle, setChanged, setVisible, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.api.instance.Instance
delete, handle, setChanged, setVisible, type
-
Field Details
-
red
public byte red -
green
public byte green -
blue
public byte blue -
alpha
public byte alpha -
light
public int light
-
-
Constructor Details
-
ColoredLitInstance
-
-
Method Details