接口 DriedGhast
- 所有超级接口:
BlockData,Cloneable,Directional,Waterlogged
'hydration' 表示方块的水合程度.
-
方法概要
修饰符和类型方法说明int获取 'hydration' 属性的值.int获取 'hydration' 属性允许的最大值.voidsetHydration(int hydration) 设置 'hydration' 属性的值.从接口继承的方法 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从接口继承的方法 org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getHydration
int getHydration()获取 'hydration' 属性的值.原文: Gets the value of the 'hydration' property.
- 返回:
- 'hydration' 的值
-
setHydration
void setHydration(int hydration) 设置 'hydration' 属性的值.原文: Sets the value of the 'hydration' property.
- 参数:
hydration- 新的 'hydration' 值
-
getMaximumHydration
int getMaximumHydration()获取 'hydration' 属性允许的最大值.原文: Gets the maximum allowed value of the 'hydration' property.
- 返回:
- 'hydration' 的最大值
-