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

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 19w11a
    • Minecraft 19w14a
    • 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

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              ProfMobius ProfMobius (Thomas Guimbretiere)
              NinjaPhenix@hotmail.co.uk NinjaPhenix
              Votes:
              6 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: