Cooking for Blockheads

Cooking for Blockheads

145M Downloads

getSmeltingResult breaks a few things here

occultstarluna opened this issue ยท 1 comments

commented

https://github.com/blay09/CookingForBlockheads/blob/32c0cecc7f2a3b24595a04d5dde1701be98ce6be/src/main/java/net/blay09/mods/cookingforblockheads/client/gui/screen/OvenScreen.java#L53

Referencing the above, I'm using Mixins to try and sense whenever an item cooks in the oven. I originally thought I could use the getSmeltingResult as a good injection point, but I found this little thing causing the event to fire every tick while the over was open. Maybe replace it with a call to CookingRegistry#getSmeltingResult?

Just a thought, thanks!

commented

It doesn't I spent a little more time analyzing and testing and I was just doing the wrong thing. Disregard entirely!