程序包 org.bukkit.material

# 接口 Directional

所有已知子接口:
  `Attachable`, `GlowItemFrame`, `Hanging`, `ItemFrame`, `LeashHitch`, `Painting`

所有已知实现类:
  `Banner`, `Bed`, `Button`, `Chest`, `CocoaPlant`, `Comparator`, `Diode`, `DirectionalContainer`, `Dispenser`, `Door`, `EnderChest`, `Furnace`, `FurnaceAndDispenser`, `Gate`, `Hopper`, `Ladder`, `Lever`, `Observer`, `PistonBaseMaterial`, `PistonExtensionMaterial`, `Pumpkin`, `RedstoneTorch`, `Sign`, `SimpleAttachableMaterialData`, `Skull`, `Stairs`, `Torch`, `TrapDoor`, `TripwireHook`

public interface Directional

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull BlockFace`
  `getFacing()`
  Gets the direction this block is facing
  `void`
  `setFacingDirection(@NotNull BlockFace face)`
  Sets the direction that this block is facing in

- ## 方法详细资料

  - ### setFacingDirection

    void setFacingDirection(@NotNull @NotNull BlockFace face)
    Sets the direction that this block is facing in
    参数:
      `face` - The facing direction

  - ### getFacing

    @NotNull @NotNull BlockFace getFacing()
    Gets the direction this block is facing
    返回:
      the direction this block is facing