Commit Graph

2 Commits

Author SHA1 Message Date
Bjarne Koll 9460497d71
Apply furnace cook speed multiplier through event (#6378)
Previously the upstream FurnaceStartSmeltEvent would default to the
recipes cooking time, ignoring any modifications from the furnace speed
multiplier.
While this works correctly for upstream, paper introduces the speed
multiplier API, which allows a different cook time from the one provided
by the recipe.

This commit now passes the modified cooktime to the furnace start smelt
event explicitly, instead of allowing the event to default to the
recipes cooking time, thus ensuring that the speed modifier is
respected.

Resolves: #6376
2021-09-22 12:46:15 -07:00
Riley Park 15e4b30e9e
Allow use of TYPE_USE annotations 2021-06-21 09:57:15 -07:00
Renamed from patches/api/0153-Implement-furnace-cook-speed-multiplier-API.patch (Browse further)