Package org.bukkit.block.data
Interface Hangable
- All Known Subinterfaces:
- Lantern,- MangrovePropagule
'hanging' denotes whether the lantern is hanging from a block.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the value of the 'hanging' property.voidsetHanging(boolean hanging) Sets the value of the 'hanging' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
- 
Method Details- 
isHangingboolean isHanging()Gets the value of the 'hanging' property.- Returns:
- the 'hanging' value
 
- 
setHangingvoid setHanging(boolean hanging) Sets the value of the 'hanging' property.- Parameters:
- hanging- the new 'hanging' value
 
 
-