# 接口的使用
org.bukkit.block.data.Directional

使用Directional的程序包
程序包
说明
org.bukkit.block
用于操作在`世界`内的三位像素(方块)，包括一些特定的状态.
org.bukkit.block.data.type
与部分方块或方块集有关的特定的 BlockData 类.

- ## org.bukkit.block中Directional的使用

  类型参数类型为Directional的org.bukkit.block中的字段
  修饰符和类型
  字段
  说明
  `static final BlockType.Typed<Directional>`
  BlockType.`ANVIL`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`ATTACHED_MELON_STEM`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`ATTACHED_PUMPKIN_STEM`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BLACK_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BLACK_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BLACK_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BLUE_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BLUE_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BLUE_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BROWN_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BROWN_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`BROWN_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`CARVED_PUMPKIN`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`CHIPPED_ANVIL`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`CREEPER_WALL_HEAD`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`CYAN_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`CYAN_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`CYAN_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`DAMAGED_ANVIL`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`DRAGON_WALL_HEAD`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`END_ROD`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`GRAY_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`GRAY_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`GRAY_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`GREEN_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`GREEN_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`GREEN_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`JACK_O_LANTERN`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIGHT_BLUE_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIGHT_BLUE_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIGHT_BLUE_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIGHT_GRAY_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIGHT_GRAY_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIGHT_GRAY_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIME_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIME_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LIME_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`LOOM`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`MAGENTA_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`MAGENTA_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`MAGENTA_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`ORANGE_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`ORANGE_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`ORANGE_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PIGLIN_WALL_HEAD`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PINK_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PINK_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PINK_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PLAYER_WALL_HEAD`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PURPLE_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PURPLE_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`PURPLE_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`RED_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`RED_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`RED_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`SKELETON_WALL_SKULL`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`SOUL_WALL_TORCH`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`STONECUTTER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`WALL_TORCH`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`WHITE_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`WHITE_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`WHITE_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`WITHER_SKELETON_WALL_SKULL`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`YELLOW_GLAZED_TERRACOTTA`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`YELLOW_SHULKER_BOX`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`YELLOW_WALL_BANNER`
  BlockData: `Directional`
  `static final BlockType.Typed<Directional>`
  BlockType.`ZOMBIE_WALL_HEAD`
  BlockData: `Directional`

- ## org.bukkit.block.data.type中Directional的使用

  org.bukkit.block.data.type中Directional的子接口
  修饰符和类型
  接口
  说明
  `interface`
  `AmethystCluster`
  `interface`
  `Barrel`
  `interface`
  `Bed`
  与 `Bisected` 相似, 'part' 值表示该方块对应的是床的哪一部分.
  `interface`
  `Beehive`
  'honey_level' 值代表该蜂箱中存储蜂蜜的值.
  `interface`
  `Bell`
  'attachment' 值表示钟是怎么固定到其他方块上的.
  `interface`
  `BigDripleaf`
  'tilt' indicates how far the leaf is tilted.
  `interface`
  `CalibratedSculkSensor`
  `interface`
  `Campfire`
  'signal_fire' 值表示该营火是否因为底部放了干草块而冒出更多的烟 (信号营火).
  `interface`
  `Chest`
  'type' 数据值表示这个方块是大型箱子的哪一部分, 亦或是它为一个独立的箱子.
  `interface`
  `ChiseledBookshelf`
  表示书架上外部可见的哪些物品槽已被占用的接口，其标记名为“slot_0_occupied”、“slot_1_occupied”等。
  `interface`
  `Cocoa`
  `interface`
  `CommandBlock`
  'conditional' 数据值表示触发此命令方块是否需要条件, 换句话说只有在此命令方块前的命令方块执行成功时才会触发本命令方块.
  `interface`
  `Comparator`
  'mode' 值表示该 (红石) 比较器将会以什么模式运算.
  `interface`
  `CoralWallFan`
  `interface`
  `DecoratedPot`
  `interface`
  `Dispenser`
  与 `Powerable` 相似, 'triggered' 数据值表示此发射器是否被激活.
  `interface`
  `Door`
  'hinge' 数据值表示门的门轴依靠哪一边, 并且开关门时会旋转.
  `interface`
  `Dripleaf`
  `interface`
  `EnderChest`
  `interface`
  `EndPortalFrame`
  'eye' 值表示该末地传送门上是否放置了一个末影之眼 (被激活).
  `interface`
  `Furnace`
  `interface`
  `Gate`
  'in_wall" 值表示栅栏门是否固定在墙上, 若为 true, 栅栏门的材质会被稍微降低一点以更好的融入周围 (墙, 比如圆石墙).
  `interface`
  `Grindstone`
  `interface`
  `Hopper`
  与 `Powerable` 相似, 'enabled' 数据值表示此漏斗是否被激活.
  `interface`
  `Ladder`
  `interface`
  `Lectern`
  'has_book' 可用于快速检测讲台内是否有书.
  `interface`
  `LightningRod`
  `interface`
  `Observer`
  `interface`
  `PinkPetals`
  “flower_amount” 表示花瓣的数量。
  `interface`
  `Piston`
  'extended' 值表示当前活塞臂是否伸出.
  `interface`
  `PistonHead`
  'short' 值表示该活塞臂是否由于正在回缩的原因比平时短.
  `interface`
  `RedstoneWallTorch`
  `interface`
  `Repeater`
  'delay' 为中继器传递信号的延迟, 即在当前信号传递过来后, 等待多少刻再激活自身以传递信号到下一个方块.
  `interface`
  `SmallDripleaf`
  `interface`
  `Stairs`
  'shape' 值代表阶梯方块的材质和碰撞箱的类型.
  `interface`
  `Switch`
  `interface`
  `TechnicalPiston`
  'type' 值代表该 (技术) 活塞方块对应的类型.
  `interface`
  `TrapDoor`
  `interface`
  `TripwireHook`
  `interface`
  `Vault`
  'vault_state' indicates the current operational phase of the vault block.
  `interface`
  `WallHangingSign`
  `interface`
  `WallSign`