// priority: 0

//If having issues with create items:
//https://www.reddit.com/r/CreateMod/comments/1dggv32/comment/l8sxg4p/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
// JEIEvents.addItems(e => {
//     e.add(Ingredient.of('@create').getItemIds().toArray());
// });

JEIEvents.addItems((event) => {
  //event.add('patchouli:guide_book');  //This is just an example.

  //Add the thermalpedia
  event.add(
    Item.of("patchouli:guide_book", { "patchouli:book": "thermal:guidebook" })
  );

  // //Add cyclic guidebook
  // event.add(
  //   Item.of("patchouli:guide_book", { "patchouli:book": "cyclic:guidebook" })
  // );
});

//Hide items from JEI
//https://github.com/emilyploszaj/emi/issues/429

// JEIEvents.hideItems((event) => {
//   //Hide WorldEdit items
//   if (!global.isWorldEditInstalled) {
//     console.log("Hiding worldedit items...");
//     event.hide("kubejs:worldedit_wand");
//     event.hide("kubejs:worldedit_nav");
//   }
// });
