Interface FlatLit
- All Superinterfaces:
Instance
- All Known Implementing Classes:
ColoredLitInstance,OrientedInstance,TransformedInstance
An interface that implementors of
Instance should also implement
if they wish to make use of the relighting utilities in AbstractVisual.-
Method Summary
Methods inherited from interface com.jozufozu.flywheel.api.instance.Instance
delete, handle, setChanged, type
-
Method Details
-
light
Set the block and sky light values for this instance.- Parameters:
blockLight- Block light valueskyLight- Sky light value- Returns:
thisfor chaining
-
light
Set the packed light value for this instance.- Parameters:
packedLight- Packed block and sky light perLightTexture.pack(int, int)- Returns:
thisfor chaining
-