#Hiding RefinedStorage in JEI

9 messages · Page 1 of 1 (latest)

spark helm
#

Is it possible to hide an entire mod from users seeing it in JEI such as RefinedStorage?

dense brambleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

tribal pecan
#

Yes check wiki

olive patioBOT
#

You can add and hide things in JEI/REI with KubeJS, and the wiki has a page on those!

spark helm
#

onEvent('jei.hide.items', event => { event.hide('refinedstorage') })

I put this in the client_scripts folder but it still shows up in JEI. Also that link seems to be the legacy version of kubeJS and not the newer one

So I used the updated stuff for JEI below and it still won't hide Refined Storage

JEIEvents.hideItems(event => { event.hide('refinedstorage') })

formal dagger
#

First of all, onEvent is 1.18 and below syntax.
Second, you can’t hide a mod by just using its namespace. You need to do @refinedstorage.
Third, you should have gotten an error when you used either code

spark helm
#

JEIEvents.hideItems(event => { event.hide('@refinedstorage') })

This is what I put reloaded, restarted the server and all and it still shows all of Refined Storages items in JEI.

I did just end up removing the recipies by making a file in server_scripts but would like to also just remove them from JEI for my server but nothing seems to be working

formal dagger
#

Try it outside of a string

plush summit
#

btw,