Mystical Customization

Mystical Customization

23M Downloads

NBT is not parsed correctly in configure-crops.json

codewolf219 opened this issue ยท 0 comments

commented

Mystical Customization v2.1.3

public static void modify(ICrop crop, JsonObject json) throws JsonSyntaxException {

I have the following element in my configure-crops.json

"mysticalagriculture:spider": {
    "tier": "mysticalagriculture:3",
    "ingredient": {
        "item":"mysticalagriculture:soul_jar",
        "nbt": {
            "Type": "mysticalcustomization:pt_spiders",
            "Souls": 5.0
        }
    }
}

My custom type is this:
{
"name":"Snow Spider",
"souls": 5.0,
"entities": [
"coldwar:snow_spider"
],
"color": "342D27"
}

The issue is that the item looks like this
image

It seems to be serializing the entire ingredient as NBT instead of just the NBT.