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 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.BlockData
clone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods 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
-
getMinimumCandles
int getMinimumCandles()Gets the minimum allowed value of the 'candles' property.- Returns:
- the minimum 'candles' value
-