接口 Beehive
- 所有超级接口:
BlockData
,Cloneable
,Directional
'honey_level' 值代表该蜂箱中存储蜂蜜的值.
-
方法概要
修饰符和类型方法说明int
获取 'honey_level' 属性的值.int
获取 'honey_level' 属性所允许的最大值.void
setHoneyLevel
(int honeyLevel) 设置 'honey_level' 属性的值.从接口继承的方法 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.Directional
getFaces, getFacing, setFacing
-
方法详细资料
-
getHoneyLevel
int getHoneyLevel()获取 'honey_level' 属性的值.原文: Gets the value of the 'honey_level' property.
- 返回:
- the 'honey_level' value
-
setHoneyLevel
void setHoneyLevel(int honeyLevel) 设置 'honey_level' 属性的值.原文: Sets the value of the 'honey_level' property.
- 参数:
honeyLevel
- 新的 'honey_level' 属性值
-
getMaximumHoneyLevel
int getMaximumHoneyLevel()获取 'honey_level' 属性所允许的最大值.原文: Gets the maximum allowed value of the 'honey_level' property.
- 返回:
- 属性 'honey_level' 的最大值
-