pack: v0.31.0 — Item Obliterator replaces v0.30.x hacks #57

Merged
Matt merged 1 commits from feature/v0.31.0-item-obliterator into main 2026-06-01 19:21:42 +00:00
Owner

Adds Item Obliterator 2.3.0 (+ Necronomicon API dep) and uses its declarative JSON config to handle what I was trying to do with KubeJS + datapack overrides.

Config blacklists alexsmobs:transmutation_table and alexsmobs:shattered_dimensional_carver. Item Obliterator removes them from inventory, creative tabs, all recipes (including modded), trades, AND JEI -- the JEI piece is what was missing before.

Deleted:

  • The KubeJS server script (transmutation recipe removal + right-click cancel)
  • The datapack recipe override

Both were workarounds for capabilities Item Obliterator provides natively.

Void Worm + regular Dimensional Carver remain functional.

Adds **Item Obliterator 2.3.0** (+ Necronomicon API dep) and uses its declarative JSON config to handle what I was trying to do with KubeJS + datapack overrides. Config blacklists `alexsmobs:transmutation_table` and `alexsmobs:shattered_dimensional_carver`. Item Obliterator removes them from inventory, creative tabs, all recipes (including modded), trades, AND JEI -- the JEI piece is what was missing before. Deleted: - The KubeJS server script (transmutation recipe removal + right-click cancel) - The datapack recipe override Both were workarounds for capabilities Item Obliterator provides natively. Void Worm + regular Dimensional Carver remain functional.
Matt added 1 commit 2026-06-01 19:21:41 +00:00
Replace the v0.30.x ad-hoc disable mechanisms (KubeJS server script,
datapack recipe override, KubeJS client-side JEI hide -- which was
broken on this KubeJS build) with a single proper tool:

  - **Item Obliterator 2.3.0** + dep **Necronomicon API 1.6.0**
    Declarative JSON config to remove items from inventories,
    creative tabs, all recipes (including modded custom recipe
    types), villager trades, and JEI. Exactly the missing capability.

Config: pack/overrides/defaultconfigs/item_obliterator.json5
  Blacklists:
    alexsmobs:transmutation_table
    alexsmobs:shattered_dimensional_carver

Removed (no longer needed):
  - pack/overrides/kubejs/server_scripts/disable_alexsmobs_features.js
    (Item Obliterator handles transmutation_table recipe removal
    and right-click cancel automatically)
  - pack/overrides/world/datapacks/bns-fuel/data/alexsmobs/
      capsid_recipes/shattered_dimensional_carver.json
    (Item Obliterator handles modded recipe removal too)

Both items now correctly:
  - Don't appear in JEI search / item list
  - Don't appear in creative tabs
  - Have no working recipe path
  - Can't be right-clicked / used
  - Get scrubbed from inventories on join

The Void Worm boss + regular Dimensional Carver still work --
nothing else in Alex's Mobs is affected.

Verified live: both mods discovered, Necronomicon read our config
file successfully ("File exists, reading config"), Item Obliterator
loaded with the blacklist.

Note: config schema is v2; v1 configs get overwritten by the mod's
default. Always write configVersion: 2.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Matt merged commit 7acd3f4da8 into main 2026-06-01 19:21:42 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minecraft/brass-and-sigil#57