MoreOverlays is creating a new ItemFilter on startup, which takes a while and spams the log with lots of item errors (this is normal, but I want to avoid having it happen twice). On a big pack, the log said it was taking more than 4600 ms to start. After this PR it's 0 ms, so the ItemFilter was the only thing taking time.
I added a new thing to JEI's API so you can get the filtered item list, and used that in this PR instead of the new ItemFilter.
I also added Mantle to your gradle since it was required in order to build and test the project. It's on the same maven as JEI but the deobfCompile line is a bit different.
MoreOverlays is creating a new ItemFilter on startup, which takes a while and spams the log with lots of item errors (this is normal, but I want to avoid having it happen twice). On a big pack, the log said it was taking more than 4600 ms to start. After this PR it's 0 ms, so the ItemFilter was the only thing taking time.
I added a new thing to JEI's API so you can get the filtered item list, and used that in this PR instead of the new ItemFilter.
I also added Mantle to your gradle since it was required in order to build and test the project. It's on the same maven as JEI but the deobfCompile line is a bit different.