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

I wanted to look into the workings of the models in Minecraft, but since the sources are missing or can't be loaded (idk), my IDE can only display the bytecode, wich causes the field and parameter names to have an autogenerated pattern like "p_XXXXX_X_" for parameters, where X is any single digit number. As you may guess, these names are not really helpful.

 

So, why are chunks of the sources missing, and where can I get accurate sources to attach to the decompiled files? Because the provided sources on the Forge website don't help (yes, I checked if it's the correct version).

 

Or maybe you know what each of these parameters represent:

class EntityModel<T extends Entity> extends Model
{
    public void render(T p_78088_1_, float p_78088_2_, float p_78088_3_, float p_78088_4_, float p_78088_5_, float p_78088_6_, float p_78088_7_)
    { }
}

 

Edited by Keheck

1 hour ago, Keheck said:

autogenerated pattern like "p_XXXXX_X_" for parameters,

Those are SRG names. Minecraft vanilla is obfuscated (a.a, b.cf, ee.q) and so the deobfuscation process translates those names (which change every version) into a consistent pattern of SRG names (that don't change often, if at all) before being made human readable by replacement with MCP names.

 

MCP names are entirely human generated as a community effort. If an MCP name does not exist, then the SRG name is used.

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
2 minutes ago, Draco18s said:

Those are SRG names. Minecraft vanilla is obfuscated (a.a, b.cf, ee.q) and so the deobfuscation process translates those names (which change every version) into a consistent pattern of SRG names (that don't change often, if at all) before being made human readable by replacement with MCP names.

 

MCP names are entirely human generated as a community effort. If an MCP name does not exist, then the SRG name is used.

So I have to wait until someone makes an MCP name for that or I somehow make my own?

(Also, what does "MCP" and "SRG" stand for?)

17 minutes ago, Keheck said:

So I have to wait until someone makes an MCP name for that or I somehow make my own?

You can contribute.

http://mcpbot.bspk.rs/

Quote

(Also, what does "MCP" and "SRG" stand for?)

Mod Coder Pack.

SRG isn't an acronym, I keep forgetting what its origin is, but it doesn't mean anything. Its just the name of the package that does that particular step.

Edited by Draco18s

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.

3 hours ago, diesieben07 said:

SeargeDP is the founder of MCP.

Like I said, I keep forgetting and couldn't remember how to spell his name and when I tried searching the forums I got no results. ?

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.

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.