destruc7i0n / crafting

Website for generating Minecraft crafting recipe JSON files
https://crafting.thedestruc7i0n.ca/
MIT License
56 stars 8 forks source link

Recipe for Spawn Eggs Impossible #4

Closed andy-bond closed 6 years ago

andy-bond commented 7 years ago

Description

Due to Spawn Eggs requiring an EntityTag to specify the type of mob to spawn, it appears to be currently impossible to create a crafting recipe for any spawn egg other than an "empty" spawn egg.

Demonstration of Issue

Here is an example recipe that, when used in game, will yield a generic spawn egg and not a Zombie Spawn Egg as intended.

{
    "type": "crafting_shaped",
    "pattern": [
        "###",
        "#E#",
        "###"
    ],
    "key": {
        "#": {
            "item": "minecraft:skull",
            "data": 2
        },
        "E": {
            "item": "minecraft:egg"
        }
    },
    "result": {
        "item": "minecraft:spawn_egg",
        "data": 54,
        "count": 1
    }
}

Possible Solutions

destruc7i0n commented 7 years ago

GitHub seems to have not notified me about this earlier - sorry for the long delay...

For now I think I'll just temporarily disable them, I'll commit this tomorrow and see what 1.13 brings for this!

Thanks :)

andy-bond commented 6 years ago

I think this particular issue was resolved by Mojang removing metadata in the 1.13 snapshots.

Thanks for making a great tool!