Package org.bukkit.block.data
Interface Orientable
- All Known Subinterfaces:
- Chain,- CreakingHeart
'axis' represents the axis along whilst this block is oriented.
 
Some blocks such as the portal block may not be able to be placed in all orientations, use
Some blocks such as the portal block may not be able to be placed in all orientations, use
getAxes() to retrieve all possible such
 orientations.- 
Method SummaryMethods inherited from interface org.bukkit.block.data.BlockDataclone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
- 
Method Details- 
getAxisGets the value of the 'axis' property.- Returns:
- the 'axis' value
 
- 
setAxisSets the value of the 'axis' property.- Parameters:
- axis- the new 'axis' value
 
- 
getAxesGets the axes which are applicable to this block.- Returns:
- the allowed 'axis' values
 
 
-