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 all

 

The new gradle setup for Forge has put the Forge and Minecraft sources into a library.  Previously I used to edit the vanilla classes to add diagnostics etc when I was trying to figure out how the vanilla worked (or more often - why my own code didn't work).

 

I'm hoping that I can still do this just by removing the forge jar from the library, extracting all the files into a test workspace, tweaking the build config (should be fun! have no idea about gradle), and editing them directly as in ye happy days of olde. 

 

Thoughts from people who know more about gradle and IDEA than me?

 

-TGG

 

 

Sorry, I don't have an answer,

 

I was just writing to add that I, too, am curious as to how this can be done.  I have needed this ability at various points to track down strange issues or to more-closely examine how the base MC source works.

 

It would be a shame to have to set up an entire Forge/FML dev environment just to add some temporary debug output to a base-class.

  • Author

You can still put breakpoints and run client/server debug.

yeah that's true, and in 3/4 of the cases that works fine for what I need.  I'm thinking of those cases where it's more effective to modify the code to log or to see what happens if I comment out part of the code.  Especially for rendering, or for code that gets executed many times and I need to break if a particular condition becomes true.

 

I'll give the extraction idea a crack, can't be that hard surely :-)

 

Officially, the answer is that you can't We are trying to drive home the point that modders SHOULD NOT be editing base classes.

However, if you're smart enough to setup project dependancies, and know how to keep your code seperate from the minecraft code then there is nothing stopping you from doing it.

Go forth and figure it out!

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.