December 2, 20204 yr On 11/30/2020 at 12:17 PM, mftg said: what is generated[main] in 1.16.4? I suppose you're talking about the generated folder that's located on the src for your mod. it is like the resources folder, it holds json files for your block and item models, loot tables, recipes and so on. The thing is, that instead of writing the json by hand, you can use a DataProvider, then you can run the Gradle task runData to automatically generate the json files for you. if you wanna know more about how to use Data Generators: the forgedocs has a page about it: https://mcforge.readthedocs.io/en/1.16.x/datagen/intro/ this youtube video by SilentChaos512 is a very good introduction also: https://www.youtube.com/watch?v=YD_ajlZ5TdY and this repository really has alot of really useful examples: https://collaborating.tuhh.de/cev7691/minecraftforge/blob/ebd463e92f86d78fdc3ab1192360fd74850afeba/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java hope I helped! Edited December 2, 20204 yr by kiou.23
December 3, 20204 yr On 12/2/2020 at 3:49 PM, kiou.23 said: I suppose you're talking about the generated folder that's located on the src for your mod. it is like the resources folder, it holds json files for your block and item models, loot tables, recipes and so on. The thing is, that instead of writing the json by hand, you can use a DataProvider, then you can run the Gradle task runData to automatically generate the json files for you. if you wanna know more about how to use Data Generators: the forgedocs has a page about it: https://mcforge.readthedocs.io/en/1.16.x/datagen/intro/ this youtube video by SilentChaos512 is a very good introduction also: https://www.youtube.com/watch?v=YD_ajlZ5TdY and this repository really has alot of really useful examples: https://collaborating.tuhh.de/cev7691/minecraftforge/blob/ebd463e92f86d78fdc3ab1192360fd74850afeba/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java hope I helped! Thank you so much! I will try to register like this and see if the mod recognizes my .jsons.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.