接口 Candle
- 所有超级接口:
BlockData,Cloneable,Lightable,Waterlogged
'candles' represents the number of candles which are present.
-
方法概要
修饰符和类型方法说明intGets 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.从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate从接口继承的方法 org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getCandles
int getCandles()Gets the value of the 'candles' property.- 返回:
- the 'candles' value
-
setCandles
void setCandles(int candles) Sets the value of the 'candles' property.- 参数:
candles- the new 'candles' value
-
getMaximumCandles
int getMaximumCandles()Gets the maximum allowed value of the 'candles' property.- 返回:
- the maximum 'candles' value
-