接口 FlowerBed
- 所有超级接口:
BlockData
,Cloneable
,Directional
- 所有已知子接口:
PinkPetals
'flower_amount' represents the number of petals.
-
方法概要
修饰符和类型方法说明int
Gets the value of the 'flower_amount' property.int
Gets the maximum allowed value of the 'flower_amount' property.void
setFlowerAmount
(int flower_amount) Sets the value of the 'flower_amount' 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.Directional
getFaces, getFacing, setFacing
-
方法详细资料
-
getFlowerAmount
int getFlowerAmount()Gets the value of the 'flower_amount' property.- 返回:
- the 'flower_amount' value
-
setFlowerAmount
void setFlowerAmount(int flower_amount) Sets the value of the 'flower_amount' property.- 参数:
flower_amount
- the new 'flower_amount' value
-
getMaximumFlowerAmount
int getMaximumFlowerAmount()Gets the maximum allowed value of the 'flower_amount' property.- 返回:
- the maximum 'flower_amount' value
-