Nomifactory / DimensionalEdibles

Travel through dimensions with food!
https://www.curseforge.com/minecraft/mc-mods/dimensional-edibles-omnifactory-edition
GNU Lesser General Public License v3.0
3 stars 6 forks source link

Investigate Cake Config Optimizations #13

Closed Exaxxion closed 3 years ago

Exaxxion commented 3 years ago

@eutropius225 noted https://github.com/OmnifactoryDevs/DimensionalEdibles/pull/10#discussion_r575885708 that the BlockCakeBase::cakeFuel() could instead be made to return an Item, and https://github.com/OmnifactoryDevs/DimensionalEdibles/pull/10#discussion_r575886624 that the related method BlockCustomCake::determineCakeFuel() could be improved by caching the results to avoid recomputation unless the config value actually changes.

This ticket is to remind us to investigate and potentially implement these optimizations.