PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

Cannot include NBT in custom explosion crafting recipes

aaronhowser1 opened this issue ยท 2 comments

commented

Using the recipe:

{
        "type": "pneumaticcraft:explosion_crafting",
        "input": {
            "item": "extendedcrafting:singularity",
            "nbt": {
                "Id":"extendedcrafting:iron"
            }
        },
        "results": [
        {
            "item": "extendedcrafting:singularity",
            "nbt": {
                "Id":"extendedcrafting:compressed_iron"
            }
        }
        ],
        "loss_rate": 0
      }

image
image

This is using pneumaticcraft-repressurized-1.16.5-2.12.5-190

commented

The default item ingredient type is the vanilla "minecraft:item" which doesn't support NBT tags. However, it should be possible to make this work by using Forge's NBTIngredient, which has a type of "forge:nbt". Can you try this:

{
        "type": "pneumaticcraft:explosion_crafting",
        "input": {
            "type": "forge:nbt",
            "item": "extendedcrafting:singularity",
            "nbt": {
                "Id":"extendedcrafting:iron"
            }
        },
        "results": [
        {
            "item": "extendedcrafting:singularity",
            "nbt": {
                "Id":"extendedcrafting:compressed_iron"
            }
        }
        ],
        "loss_rate": 0
      }
}
commented

That worked! Thank you so much :D