Skip to content

About

Mirrors Apotheosis affix rarity to top-level NBT so filter mods can read it. 1.20.1 Forge.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Apothic Filter Compat

Mirrors Apotheosis affix rarity to top-level NBT so filter mods 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.

Apothic Filter Compat copies the rarity value to a top-level NBT key called apothic_rarity on items in a player's inventory. Once mirrored, any filter mod that reads top-level NBT can match items by rarity using a filter like:

{apothic_rarity:"apotheosis:rare"}

Compatibility

Works with any filter mod that matches on a top-level string NBT key.

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, and Apothic Attributes).
  2. Drop the jar into your mods folder.
  3. Pick up or obtain any affixed item into your inventory. Within one second, it will have apothic_rarity set at the top level of its NBT.
  4. In your filter mod of choice, set the NBT match to {apothic_rarity:"apotheosis:rare"} (or any rarity ID like apotheosis:common, apotheosis:uncommon, apotheosis:rare, apotheosis:epic, apotheosis:mythic, and apotheosis:ancient).

If you hover over an affixed item, the tooltip will show the apothic_rarity value to make filter setup easier. The tooltip can be disabled in the config.

Config

Located at config/apothic_filter_compat-common.toml.

  • enabled: master switch for the rarity mirror, default true
  • nbtKey: top-level NBT key to write, default apothic_rarity
  • tickInterval: how often to sweep player inventory in ticks, default 20 (one second)
  • showTooltip: show the apothic_rarity value on item tooltips, default true

Uninstalling

Items tagged by Apothic Filter Compat keep the apothic_rarity NBT key after the mod is removed. The key is harmless and ignored by Minecraft, but it stays on existing items in the save until those items are destroyed.

Dependencies

  • Forge 47.x (Minecraft 1.20.1)
  • Apotheosis 7.x (soft dependency, mod loads safely without it but does nothing)
  • Placebo 8.x (transitively required by Apotheosis)

Building from source

Apothic Filter Compat builds with the standard Forge MDK. Clone the repo, run gradlew build, and the jar appears in build/libs.

License

Apothic Filter Compat is licensed under MIT. The full license text is in the LICENSE file.

Credits

The Apotheosis mod was created by Shadows_of_Fire. Apothic Filter Compat only adds compatibility shims; all rarity logic comes from Apotheosis itself.

About

Mirrors Apotheosis affix rarity to top-level NBT so filter mods can read it. 1.20.1 Forge.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages