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