接口 LeafLitter
- 所有超级接口:
BlockData
,Cloneable
,Directional
'segment_amount' represents the number of segments.
-
方法概要
修饰符和类型方法说明int
Gets the maximum allowed value of the 'segment_amount' property.int
Gets the value of the 'segment_amount' property.void
setSegmentAmount
(int segment_amount) Sets the value of the 'segment_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
-
方法详细资料
-
getSegmentAmount
int getSegmentAmount()Gets the value of the 'segment_amount' property.- 返回:
- the 'segment_amount' value
-
setSegmentAmount
void setSegmentAmount(int segment_amount) Sets the value of the 'segment_amount' property.- 参数:
segment_amount
- the new 'segment_amount' value
-
getMaximumSegmentAmount
int getMaximumSegmentAmount()Gets the maximum allowed value of the 'segment_amount' property.- 返回:
- the maximum 'segment_amount' value
-