pack: v0.30.3 — fully hide Shattered Dimensional Carver
Replaces v0.30.2's right-click intercept with two cleaner layers:
1. Datapack override of the Capsid recipe
pack/overrides/world/datapacks/bns-fuel/data/alexsmobs/
capsid_recipes/shattered_dimensional_carver.json
Changes the input from `alexsmobs:dimensional_carver` to
`minecraft:barrier`, which players cannot obtain in survival.
The recipe loads cleanly but never matches, so the item is
never produced through normal play.
2. Client-side KubeJS JEI hide
pack/overrides/kubejs/client_scripts/hide_disabled_items.js
Hides `alexsmobs:shattered_dimensional_carver` from JEI search
and the item list, so it doesn't appear as a recipe-less ghost.
The right-click intercept in server_scripts/disable_alexsmobs_features.js
stays in place as a safety net for /give cases. Transmutation Table
recipe removal also stays as-is.
Net effect: the Shattered Dimensional Carver effectively does not
exist on this server. Void Worm fight + regular Dimensional Carver
return-home item both stay intact.
Verified live: pack synced to 0.30.3, Alex's Mobs registered its
capsid_recipes datapack listener (which reads our override file).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Brass and Sigil -- client-side: hide items disabled server-side from JEI
|
||||
//
|
||||
// The Shattered Dimensional Carver is disabled on the server (the
|
||||
// Capsid recipe is overridden to require barriers, and the right-click
|
||||
// is cancelled). Hiding it from JEI completes the illusion -- players
|
||||
// don't see a recipe-less ghost item cluttering search.
|
||||
|
||||
JEIEvents.hideItems(event => {
|
||||
event.hide('alexsmobs:shattered_dimensional_carver');
|
||||
console.info('[bns/hide_disabled_items] hid alexsmobs:shattered_dimensional_carver from JEI');
|
||||
});
|
||||
Reference in New Issue
Block a user