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

Mob spawners with a Weight tag crash the game.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.12
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      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}]}

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: