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

Summon monsters in peaceful difficulty spawns monster for 1 tick

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                6 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: