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
12 stars 1 forks source link

(b1.2 - 13w01b) Fire 1 #3

Open muzikbike opened 3 years ago

muzikbike commented 3 years ago

There is evidence pointing to there being two coexisting fire textures at least as early as Beta 1.2:

I'm not sure how differently they're generated, though - possibly a different initial seed? It seems likely that they use the same algorithm, but again I could be wrong.

2021-08-06_19 57 49 2021-08-06_19 58 06

As the fire texture very likely used RNG for generation, it may vary between sessions and getting a loopable animation may not be possible.

muzikbike commented 2 years ago

Completely random thoughts: I wonder if it'd be possible to generate a pre-1.5 analogue of soul fire by tweaking some values.

Also, I do not think this program should cover mods (perhaps a sister project could), but blue fire from the beta Ice Mod was also generated by the game procedurally.

muzikbike commented 2 years ago

Also, should I report MT19937 versions of textures (aka the Pocket Edition versions of water, lava, ...) separately?

muzikbike commented 2 years ago

Some investigations in Beta 1.7.3 with the following terrain.png to try and determine what each texture is used for. What I believe corresponds to fire_2 is recolored to blue. terrain

Northwest and southeast facing directions appear to yield identical results: 2021-10-12_18 42 42 2021-10-12_18 41 37

Straight north: 2021-10-12_18 16 22

The fire overlay: 2021-10-12_18 18 42

May test in 1.5-1.7 to see if the results match.

muzikbike commented 2 years ago

Also, should I report MT19937 versions of textures (aka the Pocket Edition versions of water, lava, ...) separately?

This is in the process of being done.

muzikbike commented 2 years ago

The Pocket Edition case has been split into #28.