#JEI hiding regex

17 messages · Page 1 of 1 (latest)

stable berry
#

Wondering if I am hiding these items incorrectly in client scripts as JEI sometimes stops showing recipes all all items. Thinking it might be related to this hiding script.

// priority: 0

JEIEvents.hideItems(e => {
    e.hide(/^waystones:.*sharestone$/)
    e.hide(/^waystones:.*scroll$/)
    e.hide('waystones:warp_plate')
    e.hide('waystones:portstone')
    e.hide('waystones:warp_stone')
    e.hide('waystones:warp_dust')
    e.hide('waystones:attuned_shard')
})
grand swallowBOT
#

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

snow vector
#

hiding items has nothing to do with recipes

#

the script looks good

stable berry
#

ok JEI just stops responding and shows no recipes, you think it's just a JEI bug?

snow vector
#

could be, JEI is extremely buggy

stable berry
#

or a recipe script bug

#

is there an REI way to run the same scripts?

#

on Forge that is

arctic echoBOT
#

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

stable berry
#

nice I'll give REI a try too

stable berry
#

does that script need to totally change for hiding or just the top line?
REIEvents.hideItems(e => {

snow vector
#

top line but what oyu have is not right

#

did you check the wiki

stable berry
#

yeah I probably botched it up lol

#

REIEvents.hide('item', event => {

grand swallowBOT
#

@stable berry Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!