TheLMiffy1111 / JAOPCA

A mod that aims to add ore processing compatibilty to many mods. Inspired by AOBD.
MIT License
40 stars 34 forks source link

[1.12.2]How can I add custom parts #259

Closed mczph closed 1 year ago

mczph commented 1 year ago

I guess we can generate custum material parts just like ContentTweaker. I tried to add an .toml file in config/jaopca/modules like thisimagebut it was useless. Can you tell me how to or it's not possible.

TheLMiffy1111 commented 1 year ago

There should be a custom.json in the jaopca folder I haven't documented the format yet, but try putting this into the json file

[
    {
        "name": "singularity",
        "type": "item",
        "materialTypes": [],
        "defaultMaterialBlacklist: []
    }
]
mczph commented 1 year ago

I found custom_form.json and put image But it doesn't seem to create any items

TheLMiffy1111 commented 1 year ago

Sorry, forgot to specify the values in materialTypes Try replacing the materialTypes line with

"materialTypes": ["ingot", "gem", "crystal", "dust", "ingot_plain", "gem_plain"]

You can remove the material types you don't want

mczph commented 1 year ago

Thank you,I also want to know if I can add custom materialTypes?

TheLMiffy1111 commented 1 year ago

There is no way to add custom material types and materials, and these are all the material types. If you want custom materials you should probably use ContentTweaker because what JAOPCA does is generate items based on existing items.

mczph commented 1 year ago

OK