Towdium / JustEnoughCalculation

A simple minecraft mod help you calculate the cost for recipes
Other
53 stars 36 forks source link

Update to 1.20.4 #155

Open 54M44R opened 4 months ago

54M44R commented 4 months ago

Updated JEC to 1.20.4

Replaced deprecated methods, and added new required parameters.

From what I could find with testing, containerTick(), onTick() and renderBg() are no longer required.

The handling of the blinking cursor seems to now be handled internally within the game, along with the application of the tinted background.

renderBg() is now an empty method. Completely removing this method requires changing the JecaGui class' declaration(?) which I am not familiar enough with at this time. Whether the method is essential or not is unknown to me, as testing showed this function was called several times. Visually comparing to 1.20.1 and 1.20.4 yielded no conclusive answer.

Issues / Notes:

Either a new branch should be made for 1.20.4 or 1.20.1 should be replaced.