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

This might have been asked quite a few times already, but I am sort of new to Forge modding. Why do a lot of standard minecraft/forge methods and parameters have confusing names like p_78088_2_ ? I also can't seem to find any declaration on the methods. Is there any?

 

Thanks in advance.

Not Forge's, but Minecraft's methods and fields are confusing because they are extracted from compiled code - which means that the original method and field names are usually lost.

 

As I understand it, the tools involved in the process do a best effort to extract those names, but that is a quite complex matter.

just you wait! ;)

Those are the SRG names and they look like that because there hasn't been a friendly name applied to them yet, via MCPBot.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

Alright got it, thanks. Is there any way to figure out what the methods/fields stand for?

Looking at the code and seeing what it does.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

This is not quite true. If you just decompile code compiled with javac (the normal java compiler) you get back pretty much the original code. The names match and everything. Why not with Minecraft? Because Mojang uses an obfuscator in addition to the normal compiler. This program strips all unnecessary information and renames classes, fields and methods to meaningless things.

 

True, thank you for the correction. I somehow forgot to mention the obfuscator =)

just you wait! ;)

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.