接口 Candle
- 所有超级接口:
BlockData,Cloneable,Lightable,Waterlogged
'candles' 表示存在的蜡烛数量.
-
方法概要
修饰符和类型方法说明int获取 'candles' 属性的值.int获取 'candles' 属性允许的最大值.voidsetCandles(int candles) 设置 'candles' 属性的值.从接口继承的方法 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()获取 'candles' 属性的值.原文: Gets the value of the 'candles' property.
- 返回:
- 'candles' 的值
-
setCandles
void setCandles(int candles) 设置 'candles' 属性的值.原文: Sets the value of the 'candles' property.
- 参数:
candles- 新的 'candles' 值
-
getMaximumCandles
int getMaximumCandles()获取 'candles' 属性允许的最大值.原文: Gets the maximum allowed value of the 'candles' property.
- 返回:
- 'candles' 的最大值
-