指挥官

数据包系统的扩展。

基础库

Commander

连接器 在Bluesky上关注

查看Wiki以了解更多!https://constellation-mc.github.io/commander/

如果您有建议或功能请求,请务必在此分享:https://github.com/constellation-mc/commander/discussions/categories/ideas

快速介绍

Commander 是原版数据包系统的扩展。

它新增了一个事件系统:

{
  "event": "commander:after_killed_by_other",
  "commands": [

  ]
}

灵活的JSON命令:

{
  "type": "commander:commands",
  "selector": "commander:random_player",
  "commands": [
    "/cmd:explode ~ ~1 ~ 2"
  ]
}

新的/命令:

  • cmd:arithmetica:/cmd:arithmetica "round(346.45, 1)"
  • cmd:explode:/cmd:explode ~ ~ ~ 4

支持带数据访问的高级表达式:

minecraft:this_entity.isInWaterOrRain

/say ${{ origin.x }}

没有可用的客户端功能,所有操作都在服务器端完成。


Commander 仍处于测试阶段,因此内容可能会发生变化、发展或失效。

整合包作者,请勿包含 .commander 文件夹!