Package org.bukkit.block.data.type
Interface DriedGhast
- All Superinterfaces:
BlockData,Cloneable,Directional,Waterlogged
Represents a dried ghast block data.
-
Method Summary
Modifier and TypeMethodDescriptionintGets the hydration level of this dried ghast.intProvides the maximum hydration level this dried ghast can reach.voidsetHydration(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, isReplaceable, 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 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.
-