Hi guys!
I want to generate my json files within my code because it would take too long to do it all by hand.
Before noticing that forge provides some useful classes / interfaces, I wrote some code myself which I thought would work... but it doesn't.
I don't really know why, and I am super obwhelmed by forge's classes / interfaces for this purpose, so if someone would share some insight on ItemModelProvider and which methods are important, I'd be delighted!
Do I need a modelBuilder, modelLoader and modelProvider? What about the DataGenerator?
My code
The main mod class:
https://github.com/celinemargaux/Plantastic/blob/crop-experiments/src/main/java/com/celinemargaux/plantastic/Plantastic.java
the init class with nested json:
https://github.com/celinemargaux/Plantastic/blob/crop-experiments/src/main/java/com/celinemargaux/plantastic/init/Init.java
my assets:
https://github.com/celinemargaux/Plantastic/tree/crop-experiments/src/main/resources/assets/plantastic
Thanks in advance!
Celine