Nbt Crafting (Fabric)

Nbt Crafting (Fabric)

630k Downloads

Can't get armor items working

ShiftySnowWolf opened this issue ยท 2 comments

commented

MC Version: 1.14.4
Mod Version: 1.2.1

In my recipe I changed a shulker spawn egg to spawn an armor stand instead, and was expecting the ArmorItems tag to work.

Here is my JSON Code (My indentation doesn't show for some reason):

{
    "type": "minecraft:crafting_shaped",
    "pattern": [
        "#G#",
        "GDG",
        "#G#"
    ],
    "key": {
        "#": {
            "item": "minecraft:ender_pearl"
        },
        "G": {
            "item": "minecraft:gold_block"
        },
        "D": {
            "item": "minecraft:diamond_block"
        }
    },
    "result": {
        "item": "minecraft:shulker_spawn_egg",
        "count": 2,
        "data": {
          "CustomModelData":370001,
          "display": {
            "Name": "{\"text\":\"Teleporter\",\"color\":\"dark_purple\"}"
            },
            "EntityTag": {"id":"minecraft:armor_stand",
                "Rotation": [0,0],
                "NoGravity": 1,
                "Invisible": 1,
                "NoBasePlate": 1,
                "Tags": ["teleporter"],
                "ArmorItems": [
                    {},
                    {},
                    {},
                    {"id": "minecraft:stick", "Count": "1b", "tag": {"CustomModelData":370001}}
                ]
            }
        }
    }
}
commented

If, I didn't use proper syntax / formatting, please let me know. :) Thanks in advance.

commented

The data gets applied correctly to the shulker spawn egg. The problem seems to be the NBT itself. So you should investigate that ;)