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

Hey guys, I'm new and this might be a dumb question.

 

Can I read the code for other people's mods? How? Where?

 

I'm just starting, and I think it would be helpful to open up and look at how other people did things, rather than re-inventing the wheel, and it would also be helpful in making sure whatever mod(s) I create are going to play well with other mods. My intent is not to copy and paste someone else's code and call it my own. If the mods I want existed, I probably wouldn't be getting into all this. I just want to know the hows, wheres, and whys of what other people have done.

 

Thanks in advance!

-T.S.White

 

P.S. If there's an answer to this somewhere already, my apologies. I'd be very grateful if you'd point me to it.

Edited by T.S.White
Post Script

Two things I do if I want to understand something from someone's mod:

  • Look at Github to see if the mod's code is published.  A lot of authors (including myself) make mod code available there.
  • I use JD-Gui (a Java Decompiler in GUI form) to look at JARs.  This is tougher because the Minecraft names are obsfucated and will require a decoder ring especially if you are new to modding Minecraft.

And kudos for not wanting to copy something outright.  Make sure you obey any license terms related to a mod's source.  Some are very open (like Public Domain or MIT) or very restrictive (All rights reserved, PERIOD).

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.