数据包扩展
本模组的目标很简单:为数据包作者提供更多工具,让他们能够创建自己想要的功能。该模组主要运行在服务器端(尽管它也包含一些可选的客户端功能)。截至目前,它新增了一个命令,扩展了三个原版命令的功能,并扩展了一个原版谓词。未来还将加入更多内容。
该模组可以仅安装在服务器上,客户端无需安装即可正常运行。
本模组不会修改任何原版行为,所有在原版的 Minecraft 中正常运行的数据包,在安装本模组后也将完全按照相同的方式运行。
客户端功能
这些功能是可选的,即使客户端不安装任何东西,模组在服务器上仍能正常工作。
此模组向创造模式物品栏中添加了一个无法获取的物品组。该物品组包含命令方块、结构方块和光方块等,主要用作快速获取这些物品的便捷工具,无需输入冗长的 /give 指令。由于大多数此类物品对非 OP(操作员)玩家毫无用处,因此未经授权使用它进行作弊也不会产生任何效果!服务器无需安装此模组即可启用此功能。
自定义参数类型在未于客户端安装此模组的情况下将无法正确自动补全并显示为错误。不过,相关命令仍然可以正常工作。在 0.1.2 版本中,唯一的自定义参数类型用于 /scoreboard players 子命令 tdcdata.function。
服务端特性
有关这些特性的更完整文档,请参阅 维基。
新增内容
/freeze:一个允许检查并修改实体冻结刻度(粉末雪效果)的新命令。
对原版功能的扩展
minecraft:location_check 谓词中的 tdcdata.type 谓词。
- 计分板团队(使用
/team modify <team> tdcdata.keepInventory 设置)的 tdcdata.keepInventory 规则。
execute if 的 tdcdata.item 条件。
/scoreboard players 支持更多数学运算。
如果您有任何建议,请在此处 提交 issue 以提出您的需求,我们可以一起讨论!到目前为止,这里的大部分内容都是我希望在游戏中看到的一些实用工具——但如果您有其他希望添加的内容,我也非常乐意听取您的想法!
Datapack Extensions
The aim of this mod is simple: give datapack authors more tools to create the things they want. This mod primarily operates on the server side (though it does have some optional client side stuff, too). As of now, it adds one new command, extends the functionality of three vanilla commands, and extends one vanilla predicate. More will come in the future.
This mod can be installed on the server without clients needing it as well.
This mod does not modify any vanilla behaviours, any datapack that works in vanilla will work exactly the same with this mod installed.
Client-side features
These features are optional, the mod will still work on the server without clients needing to install anything.
This mod adds an unobtainable item group to the creative inventory. This group contains things like command blocks, structure blocks, and light blocks, and is mainly meant to be used as a quick tool for getting these items without having to type in long /give commands. Most of these items are useless to non-operators, so using it to cheat without permission won't do anything! Servers do not need to install this mod for this feature to work.
Custom argument types will not auto-complete properly and will show as errors unless the mod is installed client-side. However, the commands still work. As of 0.1.2, the only custom argument type is for the tdcdata.function sub command of /scoreboard players.
Server-side features
More complete documentation on these features can be found on the wiki.
Additions
/freeze : A new command that can inspect and modify the freezing ticks of entities (the powder snow effect).
Extensions to Vanilla
tdcdata.type predicate for the light predicate in minecraft:location_check.
tdcdata.keepInventory rule for score board teams (set using /team modify <team> tdcdata.keepInventory)
tdcdata.item condition for execute if
- More mathematical operations for
/scoreboard players
If you have any suggestions, please create an issue with your request here and we can discuss it! Most of the stuff here so far are just utilities I would like to see in the game - but if there's anything else you'd like to see then I'd love to hear it!
评论 0
登录后参与评分
还没有评论,来抢沙发吧