org.bukkit.material
Interface Directional

All Known Subinterfaces:
Attachable, Hanging, ItemFrame, LeashHitch, Painting
All Known Implementing Classes:
Bed, Button, Chest, CocoaPlant, Diode, DirectionalContainer, Dispenser, Door, EnderChest, Furnace, FurnaceAndDispenser, Gate, Ladder, Lever, PistonBaseMaterial, PistonExtensionMaterial, Pumpkin, RedstoneTorch, Sign, SimpleAttachableMaterialData, Skull, Stairs, Torch, TrapDoor, TripwireHook

public interface Directional


Method Summary
 BlockFace getFacing()
          Gets the direction this block is facing
 void setFacingDirection(BlockFace face)
          Sets the direction that this block is facing in
 

Method Detail

setFacingDirection

void setFacingDirection(BlockFace face)
Sets the direction that this block is facing in

Parameters:
face - The facing direction

getFacing

BlockFace getFacing()
Gets the direction this block is facing

Returns:
the direction this block is facing


Copyright © 2013. All Rights Reserved.