Sodium

Sodium

35M Downloads

Option to make lilypads render with the same rotation as in vanilla minecraft

Jeroen-45 opened this issue ยท 3 comments

commented

Is your feature request related to a problem? Please describe.
The rotation that lilypads are rendered in is inconsistent with the vanilla version of minecraft. This, for example, makes it difficult to use lilypads for hiding (or finding) secret codes that use this location-specific rotation. I have been told this discrepancy is caused by Sodium using a different random source for randomized block rotations.

Describe the solution you'd like
It would be useful to have the option to disable this specific optimization.

Describe alternatives you've considered
A more general option to choose which random source to use would also help.

commented

Is this still an issue? With 1.19, everything uses the vanilla Random.

commented

I just checked, and it appears that the lilypads are still rendered with rotations different to vanilla in 1.19.2. Perhaps interesting is that the rotations with sodium have changed from 1.18.2 to 1.19.2, while the vanilla rotations are still the same between versions. I have tested this with a superflat water world with the top layer set to lilies in both versions with and without sodium, you can view the results below:

1.18.2 Vanilla:
1 18 2 Vanilla

1.18.2 Fabric + Sodium:
1 18 2 Fabric + Sodium

1.19.2 Vanilla:
1 19 2 Vanilla

1.19.2 Fabric + Sodium:
1 19 2 Fabric + Sodium

I found that the best way to view the differences is to compare a specific row or column, or to open them in an image viewer and switch back and forth.

commented

It appears this issue has been fixed as of c7a5842.

Vanilla:
image

Sodium:
image