Drop jei_hides.js (wrong JEI API binding) #27

Merged
Matt merged 1 commits from fix/drop-jei-hides into main 2026-05-23 16:22:02 +00:00
Owner

Stops the recurring KubeJS client errors. Recipes still removed server-side so functional impact is minimal. Pack 0.21.1 -> 0.21.2.

Stops the recurring KubeJS client errors. Recipes still removed server-side so functional impact is minimal. Pack 0.21.1 -> 0.21.2.
Matt added 1 commit 2026-05-23 16:22:01 +00:00
Two consecutive client_scripts errors traced to jei_hides.js:
1. Array-spread syntax not supported by Rhino (fixed in 0.21.1)
2. JEIEvents global is not defined in KubeJS 2101.7 -- the actual JEI
   event API uses classes like JEIRemoveEntriesKubeEvent but the binding
   name is something different we haven't identified yet.

Rather than ship more guesses, drop the script entirely. Functional
impact is minimal: recipes for waystones + coins are still removed
server-side (recipes_waystones.js, recipes_numismatics.js), so players
cannot craft these items even if they appear in JEI search. The only
loss is some JEI clutter.

When we identify the correct JEI hide API in KubeJS 2101.x, can add
back as kubejs/client_scripts/jei_hides.js with the right binding.
Matt merged commit 67870f0648 into main 2026-05-23 16:22:02 +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#27