# 接口的使用
org.bukkit.block.data.type.Switch

使用Switch的程序包
程序包
说明
org.bukkit.block
用于操作在`世界`内的三位像素(方块)，包括一些特定的状态.

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

  类型参数类型为Switch的org.bukkit.block中的字段
  修饰符和类型
  字段
  说明
  `static final BlockType.Typed<Switch>`
  BlockType.`ACACIA_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`BAMBOO_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`BIRCH_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`CHERRY_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`CRIMSON_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`DARK_OAK_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`JUNGLE_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`LEVER`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`MANGROVE_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`OAK_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`POLISHED_BLACKSTONE_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`SPRUCE_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`STONE_BUTTON`
  BlockData: `Switch`
  `static final BlockType.Typed<Switch>`
  BlockType.`WARPED_BUTTON`
  BlockData: `Switch`