#JEI hide not work

7 messages · Page 1 of 1 (latest)

sharp grotto
#

When I hide items in REI, some of the set items are not hidden. Is there a situation like this? I checked to see if I had entered the item code incorrectly, but I wasn't.

minor bridgeBOT
#

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

sharp grotto
#

JEI hide not work

gray flaxBOT
#

🗒️ Send the code! 🗒️

You may have an issue with a KubeJS script and you explain it to the best of your ability yet without the actual code in question we have very little to go off of in trying to assist you.

#

You can find your KubeJS client log in /minecraft/logs/kubejs/client.log.
If you are on 1.18 or 1.16 it will be called client.txt.
Please send it if asked, as it contains helpful information.

weary grotto
#

??__rei

gray flaxBOT
# weary grotto ??__rei

hide items and fluids

REIEvents.hide('item', event => {
  event.hide('example:ingredient')
})

REIEvents.hide('fluid', event => {
  event.hide('example:fluid')
})

add items and fluids

REIEvents.add('item', event => {
  event.add(Item.of('example:item', {test: 123}))
})

REIEvents.add('fluid', event => {
  event.add('example:fluid')
})

add information

REIEvents.information(event => {
  event.addItem('example:ingredient', ['Line 1', 'Line 2'])
})

hide categories

REIEvents.removeCategories(event => {
  console.log(event.categoryIds) //log a list of all category ids to logs/kubejs/client.txt
  
  //event.remove works too, but yeeting is so much more fun {wink}
  event.yeet('create:compacting')
})