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

Mob spawners with a Weight tag crash the game.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12
    • None
    • Unconfirmed

      When I create a mob spawner with a "Weight" tag in SpawnPotentials, the game crashes and I can no longer reload the world without it crashing again. Here is an example command which would crash the game:

      /setblock ~ ~ ~ minecraft:mob_spawner 0 replace {SpawnData:

      {id:sheep}

      ,SpawnPotentials:[{Entity:

      {id:sheep}

      ,Weight:0.6},{Entity:

      {id:cow}

      ,Weight:0.4}]}

            Unassigned Unassigned
            zerdguyyy zerdguyyy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: