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

Spawners unsuccessfully try to summon hostile entities on peaceful difficulty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 1.20.3 Release Candidate 1, 1.20.3, 1.20.4, 24w03b
    • None
    • Community Consensus
    • Mob spawning
    • Low
    • Platform

      Spawner blocks and minecarts will unsuccessfully attempt to summon hostile entities when the world difficulty is set to peaceful

      Steps to Reproduce:

      1. Place down/summon one of the following:
        /summon spawner_minecart ~ ~ ~ {SpawnData:{entity:{id:"minecraft:slime"}},SpawnPotentials:[{weight:1,data:{entity:{id:"minecraft:slime"}}}]}
        /give @p spawner{BlockEntityTag:{SpawnData:{entity:{id:"minecraft:slime"}},SpawnPotentials:[{weight:1,data:{entity:{id:"minecraft:slime"}}}]}} 1

      Expected & Observed Results:

      - The spawner will display cloud particles and a slime will appear for a brief moment, then despawn.
      - The spawner would not try and summon entities, as it cannot.

      Screenshots/Videos:

      SpawnerSummonPeaceful.mp4

      Notes:

      This does not affect trial spawners, which are only active in gamemodes above peaceful.

        1. 2023-11-30 20-18-53 - Trim.mkv
          4.70 MB
          Fedea2
        2. SpawnerSummonPeaceful.mp4
          567 kB
          [Mod] Jiingy

            Unassigned Unassigned
            Fedea2 Fedea2
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: