Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262641

Chorus flower models are incredibly unoptimized and cause serious rendering lag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.4, 1.20 Pre-release 1, 1.20.2
    • Confirmed
    • Performance, Textures and models
    • Normal
    • Gameplay

      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.

      1. Download this resource pack
      2. 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
      3. Start flying in Creative mode or by switching to Spectator
      4. Execute this command:
        /tp @s 0 -30 0 0 90
      5. Open the FPS bars by pressing F3 and Alt simultneously
      6. 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.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            13 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: