接口 FlowerBed
- 所有超级接口:
BlockData,Cloneable,Directional
- 所有已知子接口:
PinkPetals
'flower_amount' 表示花瓣的数量.
-
方法概要
修饰符和类型方法说明int获取 'flower_amount' 属性的值.int获取 'flower_amount' 属性允许的最大值.voidsetFlowerAmount(int flower_amount) 设置 'flower_amount' 属性的值.从接口继承的方法 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
-
方法详细资料
-
getFlowerAmount
int getFlowerAmount()获取 'flower_amount' 属性的值.原文: Gets the value of the 'flower_amount' property.
- 返回:
- 'flower_amount' 的值
-
setFlowerAmount
void setFlowerAmount(int flower_amount) 设置 'flower_amount' 属性的值.原文: Sets the value of the 'flower_amount' property.
- 参数:
flower_amount- 新的 'flower_amount' 值
-
getMaximumFlowerAmount
int getMaximumFlowerAmount()获取 'flower_amount' 属性允许的最大值.原文: Gets the maximum allowed value of the 'flower_amount' property.
- 返回:
- 'flower_amount' 的最大值
-