Package org.bukkit.block.data.type
Interface Candle
- All Superinterfaces:
- BlockData,- Cloneable,- Lightable,- Waterlogged
'candles' represents the number of candles which are present.
- 
Method SummaryModifier and TypeMethodDescriptionintGets the value of the 'candles' property.intGets the maximum allowed value of the 'candles' property.voidsetCandles(int candles) Sets the value of the 'candles' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, mergeMethods inherited from interface org.bukkit.block.data.WaterloggedisWaterlogged, setWaterlogged
- 
Method Details- 
getCandlesint getCandles()Gets the value of the 'candles' property.- Returns:
- the 'candles' value
 
- 
setCandlesvoid setCandles(int candles) Sets the value of the 'candles' property.- Parameters:
- candles- the new 'candles' value
 
- 
getMaximumCandlesint getMaximumCandles()Gets the maximum allowed value of the 'candles' property.- Returns:
- the maximum 'candles' value
 
 
-