Jump to content

Recommended Posts

Posted

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.

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
Posted
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.

  • Like 1

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...

×   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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.