Package org.bukkit.block.data.type
Interface DriedGhast
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Waterlogged
Represents a dried ghast block data.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the hydration level of this dried ghast.int
Provides the maximum hydration level this dried ghast can reach.void
setHydration
(int hydration) Sets the hydration level of this dried ghast.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getHydration
int getHydration()Gets the hydration level of this dried ghast.- Returns:
- the hydration level, reaching from 0 to
getMaximumHydration()
-
setHydration
void setHydration(int hydration) Sets the hydration level of this dried ghast.- Parameters:
hydration
- the hydration level, reaching from 0 togetMaximumHydration()
-
getMaximumHydration
int getMaximumHydration()Provides the maximum hydration level this dried ghast can reach.- Returns:
- the maximum level.
-