Interface Lightable

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
Campfire, Candle, CopperBulb, Furnace, RedstoneWallTorch

public interface Lightable extends BlockData
'lit' denotes whether this block (either a redstone torch or furnace) is currently lit - that is not burned out.
  • Method Details

    • isLit

      boolean isLit()
      Gets the value of the 'lit' property.
      Returns:
      the 'lit' value
    • setLit

      void setLit(boolean lit)
      Sets the value of the 'lit' property.
      Parameters:
      lit - the new 'lit' value