kiou.23 Posted December 2, 2020 Posted December 2, 2020 (edited) On 11/30/2020 at 3:17 PM, mftg said: what is generated[main] in 1.16.4? Expand 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, 2020 by kiou.23 Quote
GiovanniStella Posted December 3, 2020 Posted December 3, 2020 On 12/2/2020 at 6: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! Expand Thank you so much! I will try to register like this and see if the mod recognizes my .jsons. 1 Quote
Recommended Posts
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.