Package org.bukkit.block.data.type
Interface DriedGhast
- All Superinterfaces:
BlockData,Cloneable,Directional,Waterlogged
'hydration' represents the hydration level of the block.
-
Method Summary
Modifier and TypeMethodDescriptionintGets the value of the 'hydration' property.intGets the maximum allowed value of the 'hydration' property.voidsetHydration(int hydration) Sets the value of the 'hydration' property.Methods inherited from interface 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, rotateMethods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacingMethods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getHydration
int getHydration()Gets the value of the 'hydration' property.- Returns:
- the 'hydration' value
-
setHydration
void setHydration(int hydration) Sets the value of the 'hydration' property.- Parameters:
hydration- the new 'hydration' value
-
getMaximumHydration
int getMaximumHydration()Gets the maximum allowed value of the 'hydration' property.- Returns:
- the maximum 'hydration' value
-