跳到正文

Animal Food Tags

作者:boyonk

Change what food animals will eat to fall in love and breed, using datapack item tags.

收藏

截图

介绍

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

Animal Food Tags

Change what food animals will eat to fall in love and breed, using datapack item tags. Parrots & Polar Bears which can be breed? Chickens cannibals? You decide!

✅ Features

  • Easy to use through editing item tags via datapacks.
  • Mod Support for any animal added through mods there’s a corresponding tag
  • Further configuration allows for namespaces to be respected, and prefixes & suffixes to be changed
  • Server-side, so that only the server needs the mod, not any clients

🏷️ Item Tags

Every animal entity type has a corresponding item tag.\
By default this follows the format of “#animal_food_tags:<entity_type>_food`. So for instance, for a horse this would be `#animal_food_tags:horse_food“. Please note that the configuration can change the format. In the case a corresponding tag does not exist, vanilla (or modded) behaviour will not be overriden.

📖 Configuration

Configuration can be found in “config/animal_food_tags.json“.

  • “override_namespace`: [bool] (default: `true“)
  • Specifies wether the namespace of the entity type should be overridden to be “animal_food_tags“.\

Must be either “true` or `false“.

  • “tag_prefix`: [string] (default: `""“)
  • Specifies the prefix added to the tag.\

Must be either a “string` only containing characters `[a-z0-9_.-]“.

  • “tag_suffix`: [string] (default: `"_food"“)
  • Specifies the suffix added to the tag.\

Must be either a “string` only containing characters `[a-z0-9_.-]“.

常见问题

Animal Food Tags 支持哪些 Minecraft 版本?

Animal Food Tags 支持 Minecraft Java 版 1.20.4,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Animal Food Tags 怎么安装?

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

评论

登录后评论和评分

boyonk 的其他作品

查看全部 →