AgriCraft

AgriCraft

30M Downloads

[1.10.2] Use other mod´s plants for mutation (parents)

Cakestory opened this issue · 3 comments

commented

Hi,
I am adding some custom flowers to my modpack and have some problems regarding mutations.
Trying to create a plant from "Pam´s harvestcraft´s" onion_plant" and "garlic_plant", it seems that mutations using parents from other mods do not work. It is working fine for vanilla parent crops though.
Is there a way to use other mod´s plants as parents?

white_tulip_mutation.txt
white_tulip_plant.txt

(I´ve renamed the files to .txt just for uploading them to github.)

commented

Are you certain that the Pam's Harvestcraft JSON files are enabled?

AgriCraft does not differentiate between the JSON files, to the point that the mod that is the source for the plant being emulated has no bearing on the workings of the JSON.

commented

Yes, I am certain, that all Harvestcraft files are enabled and working (the mutations are shown in JEI).
I have tested several plant configurations as parents. But it only seems to affect Pam´s Harvestcraft crops. Using plants from other mods as parents is working fine so far. (Tested with a custom made plant from Actually Additions BlackLotus)

P.S. I just noticed in the client log it says :

Invalid Mutation: Invalid Parent 1: "cucumber_plant"!

Mutation:
- Parents:
- Parent 1: cucumber_plant
- Parent 2: onion_plant
- Child: ender_lilly_plant
- Chance: 0.3

It seems to log this for any harvestcraft plant used as parents.

commented

That's because all the harvestcraft plant id's are substandard. The actual id for the cucumber_plant is cucumber_crop. This will be fixed in the next release.