接口 Snow
-
方法概要
修饰符和类型方法说明int
获取 'layers' 属性的值.int
获取 'layers' 属性所允许的最大值.int
获取 'layers' 属性所允许的最小值.void
setLayers
(int layers) 设置 'layers' 属性的值.从接口继承的方法 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
-
方法详细资料
-
getLayers
int getLayers()获取 'layers' 属性的值.原文: Gets the value of the 'layers' property.
- 返回:
- 属性 'layers' 的值
-
setLayers
void setLayers(int layers) 设置 'layers' 属性的值.原文: Sets the value of the 'layers' property.
- 参数:
layers
- 新的 'layers' 属性值
-
getMinimumLayers
int getMinimumLayers()获取 'layers' 属性所允许的最小值.原文: Gets the minimum allowed value of the 'layers' property.
- 返回:
- 最小 'layers' 属性值
-
getMaximumLayers
int getMaximumLayers()获取 'layers' 属性所允许的最大值.原文: Gets the maximum allowed value of the 'layers' property.
- 返回:
- 最大 'layers' 属性值
-