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

(a1.2.0 - 13w01b) Nether portal "random shimmer" #19

Closed muzikbike closed 1 year ago

muzikbike commented 2 years ago

Currently the 13w02a and up version of the nether portal animation is generated using the pre-13w02a algorithm. Isn't there something about a random shimmer effect on the portal that existed beforehand?

muzikbike commented 2 years ago

For reference, here's the code as listed on the wiki: https://minecraft.fandom.com/wiki/Procedural_animated_texture_generation#Nether_portals

The section explicitly stating "make the spirals shimmer slightly at random" is what this ticket concerns.

muzikbike commented 2 years ago

The Pocket Edition equivalent has been split into #31.

muzikbike commented 2 years ago

The following are two gifs of the nether portal animation, not sure if they're of any use. Intended to pinpoint any differences between the pre-1.5 and 1.5 textures.

1.4.7: portalanimonepointfour

1.5: portalanimonepointfive

muzikbike commented 1 year ago

Turns out that this probably isn't an issue, as the wiki page has recently been updated to clarify that the random shimmer uses a constant seed of 100L anyway. https://minecraft.fandom.com/wiki/Procedural_animated_texture_generation/Nether_portals

Indeed, NetherPortalGenerator.java can be seen to include 100L as an input for the random function on line 39. This solves the mystery of the random shimmer, so this issue can probably be closed.