跳到正文

Better Datapacks

作者:Micalobia

Increases the scope of what can be done with a datapack.

收藏

介绍

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

Better Datapacks

Environment: Server
Mod Loader: Fabric

This mod aims to improve and add upon what is possible with the datapack system in Vanilla, ideally shooting for
completely server-side features

Requires Fabric API

Implemented

  • execute raycast and execute if raycast have been added to the subcommands.
  • Advancement trigger better_datapacks:block_broken detects when a block is broken.
  • Recipe type better_datapacks:empty lets you overwrite a recipe with nothing, without an error log.
  • Recipe type better_datapacks:potion and better_datapacks:potion_item to make potion recipes
  • calculate command that lets you do a lot of math operations between just about any number and storing it just about anywhere
  • Nbt Crafting in shaped, shapeless, and smithing recipes
  • Events, which go in the events folder in a datapack, similar to advancements.

Planned

  • Negative Tags (removing something from a tag without rewriting the entire thing)
  • Custom Enchants* (primitive, will do nothing but be compatible with anvils and such)
  • Custom Commands (with arguments and everything, will execute a function using the macro feature)

*might not be able to do this only serverside

Feedback

If you find a bug or have an idea, be sure to create an issue!
Would also love it if anyone wants to make a pull request, help is always appreciated!

常见问题

Better Datapacks 支持哪些 Minecraft 版本?

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

Better Datapacks 怎么安装?

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

评论

登录后评论和评分

Micalobia 的其他作品

查看全部 →