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.intGets the minimum 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, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDropsMethods 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
 
- 
getMinimumCandlesint getMinimumCandles()Gets the minimum allowed value of the 'candles' property.- Returns:
- the minimum 'candles' value
 
 
-