Package org.bukkit.block.data
Interface Rotatable
- All Known Subinterfaces:
- Sign
public interface Rotatable extends BlockData
'rotation' represents the current rotation of this block.
- 
Method SummaryModifier and Type Method Description BlockFacegetRotation()Gets the value of the 'rotation' property.voidsetRotation(BlockFace rotation)Sets the value of the 'rotation' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, matches, merge
- 
Method Details- 
getRotationGets the value of the 'rotation' property.- Returns:
- the 'rotation' value
 
- 
setRotationSets the value of the 'rotation' property.- Parameters:
- rotation- the new 'rotation' value
 
 
-