NeRdTheNed / MC-TextureGen

A Java program that programatically generates textures generated by certain versions of Minecraft at runtime, and then saves them to individual files.
The Unlicense
15 stars 1 forks source link

(RC1 - 18w22c) Title screen panorama overlay #32

Open muzikbike opened 2 years ago

muzikbike commented 2 years ago

In 1.13-pre1, the gradient overlay applied on the menu atop the panorama was made editable via a texture file. This effect was generated by the game in the prior version range, effectively making this a game-generated texture file.

The code used to do this is as follows: https://cdn.discordapp.com/attachments/433407899403026434/990658085804711996/unknown.png

muzikbike commented 7 months ago

As the image is no longer available here's a transcript:

this.drawGradientRect(0, 0, this.width, this.height, -2130706433, 16777215); this.drawGradientRect(0, 0, this.width, this.height, 0, Integer.MIN_VALUE);

muzikbike commented 7 months ago

image