跳到正文

Apothic Filter Compat

Mirrors Apotheosis affix rarity to top-level NBT so filter mods like Pipez and Refined Storage can read it.

收藏

截图

介绍

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

What it does

Apotheosis stores affix item rarity in nested NBT at affix_data.rarity. Most filter mods only read first-level NBT, which means players cannot filter affixed gear by rarity in storage and pipe systems. This has been a known pain point across many GitHub issues for years.

This mod copies the rarity value to a top-level NBT key called apothic_rarity. Once mirrored, any filter mod that reads top-level NBT can match items by rarity:

{apothic_rarity:"apotheosis:rare"}

A tooltip on affix items shows the value to make filter setup easier (toggleable in config).

Compatibility

Works with: Pipez, Refined Storage, Applied Energistics 2, XNet, Mekanism logistical transporters, EnderIO conduits, Functional Storage NBT lock, and any other filter mod that reads top-level NBT paths.

Does not work with: Sophisticated Backpacks or Sophisticated Storage. Their filter system requires full NBT match rather than path-based matching, which is a limitation of those mods.

Usage

  1. Install Apotheosis and its dependencies (Placebo, Patchouli, Apothic Attributes).
  2. Drop this jar into your mods folder.
  3. Pick up or generate any affixed item. Within one second it will have apothic_rarity set at the top level of its NBT.
  4. In your filter mod, set the NBT match to {apothic_rarity:"apotheosis:rare"} (or any rarity ID: apotheosis:common, apotheosis:uncommon, apotheosis:rare, apotheosis:epic, apotheosis:mythic).

Config

Located at config/apothic_filter_compat-common.toml.

  • enabled: master switch, default true
  • nbtKey: top-level NBT key, default apothic_rarity
  • tickInterval: how often to sweep inventory in ticks, default 20
  • showTooltip: show the rarity value on tooltips, default true

Source

GitHub: https://github.com/nightwielder23/apothic-filter-compat

License

MIT.

常见问题

Apothic Filter Compat 支持哪些 Minecraft 版本?

Apothic Filter Compat 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Apothic Filter Compat 怎么安装?

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

评论

登录后评论和评分

Nightwielder23 的其他作品

查看全部 →