Resource packs can modify both the splash and lingering potion entities to use a different model for each effect type. However, as of Preview 1.21.80.28, lingering potions now crash the game.
Steps to Reproduce:
Download the two attached resource packs
Apply “SplashPotChange” and enter any world
— All thrown splash potions will be sideways 3D models, as the resource pack changes them to be like thatApply “LingeringPotChange” and enter any world
— The game crashes when the loading bar is completely filled
Observed Results:
Despite using the exact same methods that have always worked, using only supported resource pack features, only the splash potions work as expected while the lingering potions crash the game.
Expected Results:
Both types of potions load their custom models properly.
Notes: Removing certain entries from the lingering potion model file can make the world open without crashing, but the remaining effect types won’t apply the models that are still in the file.
Attachments
Comments 2
Specifically, a crash occurs when lingering potion geometry attempts to load a texture that does not exist in the files. The “textures” array includes misleading entries such as “confusion” and “blindness” that are not actually in the files.
[media]In the past, this would silently fail, and the game would not crash. To fix this bug, the old behavior (silent failure) should be restored when a missing texture is referenced for geometry.