接口的使用
org.bukkit.block.data.Powerable
-
org.bukkit.block中Powerable的使用
修饰符和类型字段说明static final BlockType.Typed<Powerable>
BlockType.ACACIA_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.BAMBOO_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.BIRCH_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.CHERRY_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.CRIMSON_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.DARK_OAK_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.JUNGLE_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.MANGROVE_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.OAK_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.POLISHED_BLACKSTONE_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.SPRUCE_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.STONE_PRESSURE_PLATE
BlockData:Powerable
static final BlockType.Typed<Powerable>
BlockType.WARPED_PRESSURE_PLATE
BlockData:Powerable
-
org.bukkit.block.data.type中Powerable的使用
修饰符和类型接口说明interface
'attachment' 值表示钟是怎么固定到其他方块上的.interface
'mode' 值表示该 (红石) 比较器将会以什么模式运算.interface
interface
'hinge' 数据值表示门的门轴依靠哪一边, 并且开关门时会旋转.interface
'in_wall" 值表示栅栏门是否固定在墙上, 若为 true, 栅栏门的材质会被稍微降低一点以更好的融入周围 (墙, 比如圆石墙).interface
'has_book' 可用于快速检测讲台内是否有书.interface
interface
'instrument' 为该音符盒被激活时发出的音色.interface
interface
铁轨的一种, 以一种或多种方式与红石交互.interface
'delay' 为中继器传递信号的延迟, 即在当前信号传递过来后, 等待多少刻再激活自身以传递信号到下一个方块.interface
interface
interface
'disarmed' 值表示该绊线被剪刀破坏, 所以不会在破坏时触发绊线钩.interface