接口 PinkPetals
- 所有超级接口:
BlockData
,Cloneable
,Directional
“flower_amount” 表示花瓣的数量。
-
方法概要
修饰符和类型方法说明int
获取“flower_amount”属性的值。int
获取“flower_amount”属性允许的最大值。void
setFlowerAmount
(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”属性允许的最大值
-