接口 DriedGhast
- 所有超级接口:
BlockData
,Cloneable
,Directional
,Waterlogged
'hydration' represents the hydration level of the block.
-
方法概要
修饰符和类型方法说明int
Gets the value of the 'hydration' property.int
Gets the maximum allowed value of the 'hydration' property.void
setHydration
(int hydration) Sets the value of the 'hydration' 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
从接口继承的方法 org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getHydration
int getHydration()Gets the value of the 'hydration' property.- 返回:
- the 'hydration' value
-
setHydration
void setHydration(int hydration) Sets the value of the 'hydration' property.- 参数:
hydration
- the new 'hydration' value
-
getMaximumHydration
int getMaximumHydration()Gets the maximum allowed value of the 'hydration' property.- 返回:
- the maximum 'hydration' value
-