跳到正文

Datapack Extensions

作者:TheDeathlyCow

Provides new tools for creating datapacks

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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!

常见问题

Datapack Extensions 支持哪些 Minecraft 版本?

Datapack Extensions 支持 Minecraft Java 版 1.18.2–1.19,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Datapack Extensions 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

TheDeathlyCow 的其他作品

查看全部 →