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

Summoning monsters in peaceful difficulty spawns monster for 1 tick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.8.1-pre3, Minecraft 16w05a, Minecraft 16w40a, Minecraft 1.11.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.15.2, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w15a, 21w17a, 21w20a, 1.17 Pre-release 1, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.20.3 Release Candidate 1, 1.20.4
    • Confirmed
    • Mob spawning
    • Low
    • Platform

      The bug

      When you summon a monster, it does not only flash, but also really exists for one tick. This may cause unnecessary CPU usage because the pathfinding algorithm maybe already starts.

      How to reproduce

      1. Set difficulty to peaceful
      2. Place a command block with this command: /summon zombie ~ ~1 ~
      3. Place a chain command block after it with this command: /execute if entity @e[type=minecraft:zombie,distance=..4] run say ZOMBIE DETECTED
      4. Activate the first command block
        Observe how the command block said "ZOMBIE DETECTED"

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            27 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              CHK: