From 2710dce4794ac76aa3ea2f3651f7a6e11ef602b4 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 1 Jun 2026 19:48:36 +0000 Subject: [PATCH] =?UTF-8?q?pack:=20v0.31.2=20=E2=80=94=20proper=20item=20h?= =?UTF-8?q?iding=20via=20c:hidden=5Ffrom=5Frecipe=5Fviewers=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stop hacking around the problem -- use the standard cross-recipe- viewer hide convention that both NeoForge and JEI define. Source-level confirmation: mezz/JustEnoughItems @ 1.21.1 CommonApi/.../api/constants/Tags.java HIDDEN_FROM_RECIPE_VIEWERS = c:hidden_from_recipe_viewers Library/.../ingredients/IngredientVisibility.java isIngredientVisible() calls ingredientHelper.isHiddenFromRecipeViewersByTags(typedIngredient) -> any item carrying this tag is hidden from JEI. neoforged/NeoForge @ 1.21.x common/Tags.java Tags.Items.HIDDEN_FROM_RECIPE_VIEWERS = c:hidden_from_recipe_viewers -> same tag, NeoForge agrees with JEI. EMI / REI also respect this tag (common convention). So the proper modpack-shippable fix is a single datapack file: pack/overrides/world/datapacks/bns-fuel/data/c/tags/item/ hidden_from_recipe_viewers.json { "replace": false, "values": [ "alexsmobs:shattered_dimensional_carver", "alexsmobs:transmutation_table" ] } No mod, no KubeJS, no CraftTweaker, no Item Obliterator JEI integration (which doesn't exist for 1.21.1 NeoForge anyway). Just the tag the recipe-viewer ecosystem agreed on years ago. Item Obliterator + Necronomicon stay in the pack for what they actually deliver on 1.21.1: inventory-pickup block + villager-trade removal + right-click cancellation. The Capsid recipe override stays too as the creation block. The full disable stack now: - Tag (this commit) -> Hidden from JEI / REI / EMI - Datapack capsid recipe -> Can't be created in-world - Item Obliterator -> Can't be picked up / right-clicked if obtained via /give or creative Co-Authored-By: Claude Opus 4.7 --- .../data/c/tags/item/hidden_from_recipe_viewers.json | 7 +++++++ pack/pack.lock.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 pack/overrides/world/datapacks/bns-fuel/data/c/tags/item/hidden_from_recipe_viewers.json diff --git a/pack/overrides/world/datapacks/bns-fuel/data/c/tags/item/hidden_from_recipe_viewers.json b/pack/overrides/world/datapacks/bns-fuel/data/c/tags/item/hidden_from_recipe_viewers.json new file mode 100644 index 0000000..c0989fd --- /dev/null +++ b/pack/overrides/world/datapacks/bns-fuel/data/c/tags/item/hidden_from_recipe_viewers.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "alexsmobs:shattered_dimensional_carver", + "alexsmobs:transmutation_table" + ] +} diff --git a/pack/pack.lock.json b/pack/pack.lock.json index 619d2c7..ddff0de 100644 --- a/pack/pack.lock.json +++ b/pack/pack.lock.json @@ -1,13 +1,13 @@ { "$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing", "name": "Brass and Sigil", - "version": "0.31.1", + "version": "0.31.2", "minecraft": "1.21.1", "loader": { "type": "neoforge", "version": "21.1.228" }, - "lockedAt": "2026-06-01T19:33:32Z", + "lockedAt": "2026-06-01T19:47:31Z", "mods": [ { "source": "modrinth", -- 2.52.0