Skip to main content

REI Integration (Fabric Only)

Hide Items

events.listen(onEvent('rei.hide.items', functionevent (event)=> {
  event.hide('example:ingredient')
})

Add Items

events.listen(onEvent('rei.add.items', functionevent (event)=> {
  event.add(item.of('example:item').nbt({test: 123}))
})

Add Information

events.listen(onEvent('rei.information', functionevent (event)=> {
  event.add('example:ingredient', 'Title', ['Line 1', 'Line 2'])
})