The hide scripts work just fine upon the first load of a game and the first world loaded, however, should you shut down the world or exit the server and not reload the game entirely, when you enter the same or a different world the items will appear in JEI again.
Minecraft Version
1.20.1
KubeJS Version
2001.6.5-build.7
Rhino Version
2001.2.2
Architectury Version
9.2.14
Forge/Fabric Version
Forge 47.2.32
Describe your issue
The hide scripts work just fine upon the first load of a game and the first world loaded, however, should you shut down the world or exit the server and not reload the game entirely, when you enter the same or a different world the items will appear in JEI again.
JEI Version: 15.3.0.4 JEI Plugins:
Crash report/logs
https://gist.github.com/DelviousCrafts/5b1ddc0f41a71fe0d58ee386fa7e22c4