Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Parameter Mappings


onVoid
 Share

Recommended Posts

Are there mappings for parameter names yet? Or does every modder just have to deal with typing in an auto-generated string when referencing a parameter.

For example:

pizza.PNG.930491ff3f04c67fa7bf1377e5149e7d.PNG

Is there a solution to this that I am not privy to? If so please enlighten me.

Link to comment
Share on other sites

Posted (edited)
3 hours ago, onVoid said:

Are there mappings for parameter names yet? Or does every modder just have to deal with typing in an auto-generated string when referencing a parameter.

These are SRG names, which are semi-obfuscated. In your PizzaItem constructor you can rename p_i48487_1_ to "properties" or whatever you wish. Any input parameters like this can be renamed, it's only when you're referencing actual variable or method names from the source that you can't rename them. 

Edited by urbanxx001
Link to comment
Share on other sites

4 hours ago, onVoid said:

Are there mappings for parameter names yet?

The official mappings have no parameter names, due to the fact that Mojang only released field names and method names. This will hopefully be alleviated in the future. The alternative is to use the MCP mappings, which has mapped quite a few parameter names. Unfortunately then you have the problem that not all field and methods have been mapped.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.