BlakeBr0 / MysticalCustomization

Allows modpack creators to add new content and modify existing content in Mystical Agriculture.
https://blakesmods.com/mystical-customization
MIT License
6 stars 6 forks source link

NBT is not parsed correctly in configure-crops.json #14

Closed codewolf219 closed 3 years ago

codewolf219 commented 3 years ago

Mystical Customization v2.1.3

https://github.com/BlakeBr0/MysticalCustomization/blob/9bc1a3080f54e1d806e033bbfb804cef8c54f829/src/main/java/com/blakebr0/mysticalcustomization/modify/CropModifier.java#L19

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.