RecipeViewerEvents


RecipeViewerEvents is only available on version 1.21 and above.
On prior versions, use REIEvents and JEIEvents instead.

#About

These events allow you to modify recipe viewer mods all at once with the same events!
Currently supported mods:
  • Roughly Enough Items (for 1.20 and below see here)
  • Just Enough Items (for 1.20 and below see here)
  • EMI
You can use these events from both client_scripts/ and server_scripts/ (on server side only 'item' and 'fluid' types will work, though).

#Supported Features

✅ - This feature is supported
❌ - This feature is currently not supported
🧋 - This feature isn't available in the recipe viewer mod in first place
Generic RecipeViewerEventsJEIREIEMI
removeCategories✅✅✅
removeRecipes✅✅✅
Item RecipeViewerEventsJEIREIEMI
addEntries✅✅✅
removeEntries✅✅✅
removeEntriesCompletely✅✅✅
addInformation✅✅✅
groupEntries🧋✅🧋
Fluid RecipeViewerEventsJEIREIEMI
addEntries✅✅✅
removeEntries✅✅✅
removeEntriesCompletely✅✅✅
addInformation✅✅✅
groupEntries🧋✅🧋
If you see 2 icons that means Client & Server
Custom Entry RecipeViewerEventsJEIREIEMI
addEntries❌✅* / ❌❌
removeEntries❌✅* / ❌❌
removeEntriesCompletely❌✅* / ❌❌
addInformation❌✅* / ❌❌
groupEntries🧋✅* / ❌🧋
* Requires a KubeJS addon to register the custom type

RecipeViewerEvents.addEntriesExample
RecipeViewerEvents.addInformationExample
RecipeViewerEvents.groupEntriesExample
RecipeViewerEvents.registerSubtypesExample
RecipeViewerEvents.removeCategoriesExample
RecipeViewerEvents.removeEntriesExample
RecipeViewerEvents.removeEntriesCompletelyExample
RecipeViewerEvents.removeRecipesExample