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

使用Directional的程序包
程序包
说明
与部分方块或方块集有关的特定的 BlockData 类.
  • org.bukkit.block.data.typeDirectional的使用

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