Package org.bukkit.block.data
Interface Directional
-
- All Known Subinterfaces:
Bed
,Bell
,Campfire
,Chest
,Cocoa
,CommandBlock
,Comparator
,CoralWallFan
,Dispenser
,Door
,EnderChest
,EndPortalFrame
,Furnace
,Gate
,Hopper
,Ladder
,Lectern
,Observer
,Piston
,PistonHead
,RedstoneWallTorch
,Repeater
,Stairs
,Switch
,TechnicalPiston
,TrapDoor
,TripwireHook
,WallSign
public interface Directional extends BlockData
'facing' represents the face towards which the block is pointing.
Some blocks may not be able to face in all directions, usegetFaces()
to get all possible directions for this block.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<BlockFace>
getFaces()
Gets the faces which are applicable to this block.BlockFace
getFacing()
Gets the value of the 'facing' property.void
setFacing(BlockFace facing)
Sets the value of the 'facing' property.-
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, matches, merge
-
-