Package org.bukkit.block.data
Interface Lightable
- All Known Subinterfaces:
Campfire
,Candle
,Furnace
,RedstoneWallTorch
'lit' denotes whether this block (either a redstone torch or furnace) is
currently lit - that is not burned out.
-
Method Summary
Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
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
-