Josiah Glosson
- Gaming32
- JIRAUSER648262
- America/Chicago
- Yes
- No
When oversampling is used for a font, the game will spread the font out over many font atlases. This is because the game hardcodes a size of 256x256 for each font atlas ( FontTexture.SIZE ), which may not be sufficient for oversampled fonts. In
my tests, just loading into a world, pressing F3+Q, followed by F3+S produceselevenfont atlases.When oversampling is used for a font, the game will spread the font out over many font atlases. This is because the game hardcodes a size of 256x256 for each font atlas ( FontTexture.SIZE ), which may not be sufficient for oversampled fonts. In the attached resource pack, just loading into a world, pressing F3+Q, followed by F3+S produces nine font atlases.
The bug
Potions in worlds which were last loaded in 1.8.9 or an earlier version will become water bottles if loaded in the latest version instead of staying the potion they were.
How to reproduce
- Create a world in a pre-1.9 version
- Obtain a potion via your desired method
- Load this world in 1.18.2 or whatever the latest major release is
- Note what the potion is
Alternatively, I've attached four world files:
- one is a base world from 1.3.2
- one is the base world loaded in 1.8.9
- one is the base world loaded in 1.12.2
- one is the base world loaded in 1.8.9 and then 1.12.2
These worlds can be used to reproduce this issue (as well as MC-249700 andMC-232104) instead of creating such a world yourself.
Expected results
The potion would... remain a potion?
Actual results
It becomes a water bottle.
Further notes
This is without a doubt related to the major refactoring done to potion formatting in 1.9.
Code analysis
Code analysis by Josiah Glosson in duplicate MC-277902.
This also happens in the other dimensions. It doesn't happen under the sky because that's full brightness, but the moment you go in a cave or the nether, it's apparent.