Netglex Posted September 6, 2015 Posted September 6, 2015 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. Quote
Draco18s Posted September 6, 2015 Posted September 6, 2015 The csv files are in: ~/.gradle/caches/minecraft/net/minecraftfirge/forge/[version]/unpacked/conf/ Where ~ is your user directory. Quote 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.
Choonster Posted September 6, 2015 Posted September 6, 2015 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 . 1 Quote 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.
Netglex Posted September 6, 2015 Author Posted September 6, 2015 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! Quote
Recommended Posts
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.