Lithium (Fabric/NeoForge)

Lithium (Fabric/NeoForge)

36M Downloads

Caching recipes and smelting

Madis0 opened this issue · 5 comments

commented

Is your feature request related to a problem? Please describe.
I have seen some mods for Fabric that attempt to cache the crafting recipes and smelting process. I would like to know if that kind of feature is being considered in Lithium as well and if not, why.

Describe the solution you'd like
A feature that would cache crafting recipes and smelting process

Describe alternatives you've considered
Mods Recipe Cache, Fast Furnace, FastBench

Additional context
I don't really know if this would be a good idea overall, hence I suggested it here so people relevant to game optimization can comment on it.

commented

These mods have a nice optimization, which I believe also fits into lithium.
However we do not want to eat other mods unless the authors themselves suggest it, because the authors might not like that, even though they chose a permissive license.

commented

However we do not want to eat other mods unless the authors themselves suggest it, because the authors might not like that, even though they chose a permissive license.

I did not quite mean bundling the mods, more of just rebuilding the feature.
And my concerns were reliability (server-client sync) and sustainability (breaking with releases) of doing those changes in vanilla overall, could you or another contributor do a technical overview on that? Asking it here as you do seem to be familiar with the internals of the game.

commented

I am for adding this function
Since multiple installed mods work better
than 100 mods

commented

Even though this mod is a forge one, this could be a valuable resource while implementing this: FastSuite

commented

Note that vanilla has added a last-used-recipe cache to the furnace and the campfire, so this might not be needed anymore in those cases, unless there's optimizations that can be done on top of their cache. See e.g. AbstractFurnaceBlockEntity#quickCheck (mojmap)