Package org.bukkit.block.data
Interface Directional
- All Known Subinterfaces:
- AmethystCluster,- Bed,- Beehive,- Bell,- BigDripleaf,- Campfire,- Chest,- Cocoa,- CommandBlock,- Comparator,- CoralWallFan,- Dispenser,- Door,- Dripleaf,- EnderChest,- EndPortalFrame,- Furnace,- Gate,- Grindstone,- Hopper,- Ladder,- Lectern,- LightningRod,- Observer,- Piston,- PistonHead,- RedstoneWallTorch,- Repeater,- SmallDripleaf,- Stairs,- Switch,- TechnicalPiston,- TrapDoor,- TripwireHook,- WallSign
'facing' represents the face towards which the block is pointing.
 
Some blocks may not be able to face in all directions, use
Some blocks may not be able to face in all directions, use
getFaces() to get all possible directions for this block.- 
Method SummaryMethods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
- 
Method Details- 
getFacingGets the value of the 'facing' property.- Returns:
- the 'facing' value
 
- 
setFacingSets the value of the 'facing' property.- Parameters:
- facing- the new 'facing' value
 
- 
getFacesGets the faces which are applicable to this block.- Returns:
- the allowed 'facing' values
 
 
-