Chorus flower models are incredibly unoptimized and cause serious rendering lag
The bug
The chorus flower is perhaps one of the most unaccountably unoptimized models in the game: the shape of the block is specified via 31 texture planes, when a visually identical result can be achieved using just 18. The effects of this can be felt very, very easily.
How to reproduce
A resource pack is attached to this ticket containing an optimized version of the chorus flower model.
- Download this resource pack
- Create a new superflat world with randomTickSpeed set to 0 in the game rules menu using this preset:
minecraft:end_stone,minecraft:chorus_flower,minecraft:end_stone,minecraft:chorus_flower,minecraft:end_stone,minecraft:chorus_flower,minecraft:end_stone,minecraft:chorus_flower;minecraft:the_void
- Start flying in Creative mode or by switching to Spectator
- Execute this command:
/tp @s 0 -30 0 0 90
- Open the FPS bars by pressing F3 and Alt simultneously
- Compare the frame rates displayed on the bar when using the vanilla resources and when using this resource pack with the optimized model
Expected results
Good framerates in vanilla.
Actual results
Nope.
How to fix
This fix is very, very easy - just replace the vanilla "template_chorus_flower.json" model file with the one attached to this ticket. Mojang has my full permission, and strong encouragement, to use this model to improve the gameplay experiences of all other players.
2023-05-13, 04:48 PM
2025-01-10, 03:43 PM
13
9
Performance, Textures and models
1.19.4, 1.20 Pre-release 1, 1.20.2
-