Interface Lightable
- All Superinterfaces:
BlockData
A block state carrying the
lit property: whether the block glows, like a furnace in use.
Block states are immutable: with... methods return another state and leave this one
untouched.
- Since:
- 0.1.0
-
Field Summary
-
Method Summary
-
Method Details
-
isLit
default boolean isLit()Returnstrueif the block is lit.- Returns:
trueif the block is lit- Since:
- 0.1.0
-
withLit
Returns the same block with anotherlitvalue.- Parameters:
lit-trueto light the block- Returns:
- the same block with another
litvalue - Since:
- 0.1.0
-