Class ColoredLitInstance
java.lang.Object
com.jozufozu.flywheel.lib.instance.AbstractInstance
com.jozufozu.flywheel.lib.instance.ColoredLitInstance
- Direct Known Subclasses:
OrientedInstance,TransformedInstance
-
Field Summary
FieldsFields inherited from class com.jozufozu.flywheel.lib.instance.AbstractInstance
handle, type -
Constructor Summary
ConstructorsConstructorDescriptionColoredLitInstance(InstanceType<? extends ColoredLitInstance> type, InstanceHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionlight(int packedLight) Set the packed light value for this instance.light(int blockLight, int skyLight) Set the block and sky light values for this instance.setColor(byte r, byte g, byte b) setColor(byte r, byte g, byte b, byte a) setColor(int color) setColor(int color, boolean alpha) setColor(int r, int g, int b) setOverlay(int overlay) Methods inherited from class com.jozufozu.flywheel.lib.instance.AbstractInstance
delete, handle, setChanged, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.api.instance.Instance
delete, handle, setChanged, type
-
Field Details
-
r
public byte r -
g
public byte g -
b
public byte b -
a
public byte a -
packedLight
public int packedLight -
overlay
public int overlay
-
-
Constructor Details
-
ColoredLitInstance
-
-
Method Details