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

Loot tables do not allow for spawn egg drops

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12
    • None
    • Java: 1.8.0_74 64 bit, Macintosh running macOS Sierra 10.12.2, 2.8 GHz Intel Core i7, AMD Radeon HD 6770M
    • Unconfirmed

      I coded some custom loot tables for mobs in 1.11.2 to allow for the drop of their spawn eggs. Jumped over to 1.12 and I get a new error that does not allow for mob identification in the following line:

      Original code: "tag":"{EntityTag:{id:minecraft:creeper}}"}

      It gives the following error:

      Expected '}' but got ':' at: {EntityTag:{id:minecraft:<--[HERE]

      Attached is my .json file for a creeper to drop it's spawn egg along with it's mob head, but this error happens to all altered loot tables regarding the drop of mob eggs.

            Unassigned Unassigned
            Badskey24 Kyle Badskey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: