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

Entity collision is run on render thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.3 Pre-release 3
    • 1.17, 22w12a
    • None
    • Community Consensus
    • Performance

      Said behavior causes a lot of framerate lag when a lot of entities exist in the world. Whether or not the player can see them.

      Disabling said behavior with a mod did not change how anything looked.

      Testing might require an override of the entity collision code to disable it on client side to see effects on fps.
      With it being limited to server only 4k mobs (non-visible) can run 60fps.
      With vanilla behavior framerate tanks even when the mobs aren't visible.
      The same calculations are effectively done twice.

        1. 2022-03-27_12.10.05.png
          2022-03-27_12.10.05.png
          1.39 MB
        2. 2022-03-27_12.11.22.png
          2022-03-27_12.11.22.png
          1.49 MB
        3. 2022-03-27_12.13.18.png
          2022-03-27_12.13.18.png
          1.41 MB
        4. Dont-fabric-1.0.0.zip
          13 kB
        5. patchington-1.0.1.zip
          0.0 kB

            Unassigned Unassigned
            jklw10 Henri Kinnunen
            Votes:
            14 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: