Jump to content

[1.8] Need SRG names of potionRequirements and potionAmplifiers


Recommended Posts

Posted

I'm updating a mod, but I can't find the SRG names for

potionRequirements

and

potionAmplifiers

. These are

Map

objects in the class

PotionHelper

(package:

net.minecraft.potion

). I usually look up this stuff in the conf/field.csv file from mcp. But since mcp910 I can't find it there anymore. Is there another way to find out the SRG field name of this two

Map

objects?

 

Thank you in advance.

Posted

The csv files are in:

~/.gradle/caches/minecraft/net/minecraftfirge/forge/[version]/unpacked/conf/

Where ~ is your user directory.

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.

Posted

You're probably using a newer version of the mappings in your workspace than the ones included in the 9.10 release of MCP. You can find the mappings used by your ForgeGradle workspaces (for recent 1.8 versions of ForgeGradle) in ~/.gradle/caches/minecraft/de/oceanlabs/mcp/<mcp_type>/<mappings_version> (replace ~ with %USERPROFILE% on Windows). You can also download specific mappings versions from the MCPBot website.

 

In Stable 16,

potionRequirements

is

field_179539_o

and

potionAmplifiers

is

field_179540_p

.

  • Like 1

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Thank you guys for your help. I could find there some SRG names, but unfortunately not all (maybe I didn't look close enough?). I found another file where I could get the SRG names of

potionRequirements

and

potionAmplifiers

: It's where you placed your Minecraft Forge src. There, go to build build/tmp/reobf. I think, after you used the command

gradlew build

, you will find there a file called reobf-default79498240393083092.srg or sth similiar (number can be different). There you will find some SRG names (including

potionRequirements

and

potionAmplifiers

).

 

Just in case, if someone is too lazy to look it up ;) :

potionRequirements

=

field_179539_o

potionAmplifiers

=

field_179540_p

 

Important: This SRG names are for Minecraft Forge 1.8!

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.