BCLib

BCLib

33M Downloads

[Bug] Bclib recipe issue

UnnamedWei opened this issue ยท 0 comments

commented

What happened?

Sort recipes on every single call of "getRecipeFor" causes performance issues when other mods like lets do vinery querying recipes in their block entities ticking

Also, Stream.toList() is mush slower than Stream.findFirst() which is used in vanilla implementation of getRecipeFor

<I extends RecipeInput, T extends Recipe<I>> void bcl_sort(

BCLib

3.0.14 newest

WorldWeaver

not using

Fabric API

newest

Fabric Loader

newest

Minecraft

1.20.1

Relevant log output

Other Mods