雪颜の顾
脚本要求非常简单,当玩家潜行,并且头部垂直向下(向上也行),按交换副手键时执行打开菜单的指令。

FireworkPolymer
我的建议是ConditionalEvents

名副其实
WorldScript:
  type: world
  events:
    if <LocationTag.pitch> == -90 || <LocationTag.pitch> == 90:
      on player swaps item:
        - execute as_player 命令 silence
        - determine cancelled

参考资料:
https://www.mcbbs.net/thread-1136980-1-1.html
https://meta.denizenscript.com/Docs/Commands#player
https://github.com/DenizenScript/Denizen/issues/1329

第一页 上一页 下一页 最后一页