Posted June 1, 20214 yr 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: Is there a solution to this that I am not privy to? If so please enlighten me.
June 1, 20214 yr 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 June 1, 20214 yr by urbanxx001
June 1, 20214 yr 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.
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.