Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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 by kiou.23

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.