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

Posted

Hi, fellow modders,

 

Just a heads up, new to modding and still learning things out.

 

So I grew tired of writing Json files, and that was when I learned that Forge can now handle Recipies/loot Table providers so I tried my best to understand how it works, I am also following McJity's tutorial along. I know that they are strongly recommended but not required. Whenever I run the getData the exit code is 0 and no error messages are displayed nut no , I also am aware that the providers require arguments that are passed from build.gradle .

Here is my modified take on the providers. One important note, one of the base providers has a capability named "Potential", I have not implemented it yet, but there are no blocks that currently implement that, so to my understanding that should not matter.

 

If anyone has a working example I would love to take a look and figure it out myself but if there is a clear mistake in my code please do correct me.

 

Repository:

 
 
0
 Advanced issue found
 
 
Spoiler

github.com/Esmerald1no/Technomagical_Advancements

 

 

Sincerely,

Esmerald1no

I can't see anything obviously wrong with your data generators, have you tried stepping through the code in the debugger?

 

I have some working data generators here.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.