Package org.bukkit.block.data.type
Interface Piston
- All Superinterfaces:
- BlockData,- Cloneable,- Directional
'extended' denotes whether the piston head is currently extended or not.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the value of the 'extended' property.voidsetExtended(boolean extended) Sets the value of the 'extended' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, mergeMethods inherited from interface org.bukkit.block.data.DirectionalgetFaces, getFacing, setFacing
- 
Method Details- 
isExtendedboolean isExtended()Gets the value of the 'extended' property.- Returns:
- the 'extended' value
 
- 
setExtendedvoid setExtended(boolean extended) Sets the value of the 'extended' property.- Parameters:
- extended- the new 'extended' value
 
 
-