Package org.bukkit.block.data.type
Interface Candle
- All Superinterfaces:
BlockData
,Cloneable
,Lightable
,Waterlogged
'candles' represents the number of candles which are present.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the value of the 'candles' property.int
Gets the maximum allowed value of the 'candles' property.void
setCandles
(int candles) Sets the value of the 'candles' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, isFaceSturdy, isSupported, isSupported, matches, merge
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getCandles
int getCandles()Gets the value of the 'candles' property.- Returns:
- the 'candles' value
-
setCandles
void setCandles(int candles) Sets the value of the 'candles' property.- Parameters:
candles
- the new 'candles' value
-
getMaximumCandles
int getMaximumCandles()Gets the maximum allowed value of the 'candles' property.- Returns:
- the maximum 'candles' value
-