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

Large amount of free work sites can cause lag when introducing new villagers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 19w14a
    • Minecraft 19w11a
    • None
    • OS: Windows 10 (64 bit)
      Java: 1.8.0_202 (64 bit)
      CPU: Intel i7-7800x (3.5GHZ 6 cores 12 threads)
      GPU: Nvidia GTX 1080
    • Confirmed
    • Mob behaviour, Village system

      Having large amount of free work sites (e.g. 256+) can cause a second of lag, However increases with the more work sites there are where a couple of thousand can cause each tick to become 20 seconds each. Whilst this may not be feasible to achieve in survival mode, this could cause major issues on creative mode(or build) servers.

       

      Reproduction:

      1. Fill a large area with a work site block
        /fill ~ ~ ~ ~32 ~ ~32 minecraft:fletching_table
      1. Spawn a villager nearby(preferably in the center)
        /summon minecraft:villager

       

            ProfMobius ProfMobius (Thomas Guimbretiere)
            ninjaphenix NinjaPhenix
            Votes:
            6 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: