REI Integration
Note: REI integration only works on Fabric in 1.16. In 1.18+, it works on both Forge and Fabric!
Hide Items
onEvent('rei.hide.items', event => {
event.hide('example:ingredient')
})
Add Items
onEvent('rei.add.items', event => {
event.add(item.of('example:item').nbt({test: 123}))
})
Add Information
onEvent('rei.information', event => {
event.add('example:ingredient', 'Title', ['Line 1', 'Line 2'])
})