null2264 / CobbleGen

An MC mod that allows you to customize/randomize cobblestone generator
GNU Lesser General Public License v3.0
5 stars 3 forks source link

Last custom generator in config file is the only one that works in-game #77

Closed Zoophlas closed 2 weeks ago

Zoophlas commented 2 weeks ago

What happened?

I've been tinkering with this for about an hour now and still can't figure out if I'm doing something wrong. Started trying to add in custom generators and at first I was able to get all of the ones I was adding (3 at the time) to all show up in REI and function correctly when tested. However after attempting to add one that uses copper blocks as the catalyst, and generate copper ore, deepslate copper ore, cobblestone, or cobbled deepslate, I've only been able to get the last entered generator working at any given point. I've tried different catalysts, tried to use different resulting products, retyped all of my generators, and even started from scratch using a different config file from a previous issue that had already been verified to be correct and no luck. Figured I post this here in-case I'm doing something wrong or in-case this is bug. I have included the config file in its original state when the problem first started. Any info/feedback would be appreciated. Thanks :)

https://drive.google.com/file/d/1tcvKBeT0zscWusb1J2MOpg-dJIn2F0ox/view?usp=sharing

Mod version

5.3.9+1.20.1b45-BETA-fabric

Game version

1.20.1

Modloader

Fabric

Acknowledgements

null2264 commented 2 weeks ago

I can't access the file

image

Zoophlas commented 2 weeks ago

I have changed the access to allow you to view it now, sorry about that!

null2264 commented 2 weeks ago

You defined the custom (cobble) gen multiple times, you only need to do it once, if do it multiple times it'd just overwrite each other.

Before: image

After merged: image

As you can see above, you just need append a different modifier/catalyst instead of adding another "cobbleGen": { ...

Zoophlas commented 2 weeks ago

Perfect! Just made the changes and ofc everything works as expected, thank you very much!