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

Separated trader llamas on leads cause server performance (tps) issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.2 Pre-release 1
    • 1.15.2
    • None
    • Arch Linux 5.6.13
      Java 1.8.0_242 64Bit
      CPU: i7-3930k
      GPU: Radeon RX 570
    • Unconfirmed
    • Mob behaviour, Performance

      Using leads attached to a fence that separate trader lamas a far enough distance so that they constantly attempt to re-join each other's company causes a severe penalty to TPS. My experience resulted in approximately 10ms increase of average for each pair of lamas.

      Separating the lamas using a fence cage does not have a performance impact.

       

      Steps to recreate:

      1) Steal a pair of trader lamas

      2) Separate the lamas using leads on fence posts. Make sure they are far enough away that they try to re-join each other's company.

      3) Compare TPS in Alt-F3

        1. NoLeadsButSeparatedAfterRestart.jpg
          NoLeadsButSeparatedAfterRestart.jpg
          377 kB
        2. NoLeadsButSeparated.jpg
          NoLeadsButSeparated.jpg
          411 kB
        3. NoLeads.jpg
          NoLeads.jpg
          388 kB
        4. 2PairOnLeads.jpg
          2PairOnLeads.jpg
          409 kB
        5. 1PairOnLeads.jpg
          1PairOnLeads.jpg
          421 kB

            xilefian [Mojang] Felix Jones
            arod529 arod529
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: