Package org.bukkit.block.data.type
Interface Hopper
- All Superinterfaces:
- BlockData,- Cloneable,- Directional
Similar to 
Unlike most other blocks, a hopper is only enabled when it is not receiving any power.
Powerable, 'enabled' indicates whether or not the hopper
 is currently activated.
 Unlike most other blocks, a hopper is only enabled when it is not receiving any power.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the value of the 'enabled' property.voidsetEnabled(boolean enabled) Sets the value of the 'enabled' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDropsMethods inherited from interface org.bukkit.block.data.DirectionalgetFaces, getFacing, setFacing
- 
Method Details- 
isEnabledboolean isEnabled()Gets the value of the 'enabled' property.- Returns:
- the 'enabled' value
 
- 
setEnabledvoid setEnabled(boolean enabled) Sets the value of the 'enabled' property.- Parameters:
- enabled- the new 'enabled' value
 
 
-