Remap MCP Mappings#1506
Conversation
|
If this PR is not included in next release, we should change |
|
How far did you get with this? Does it work for you I run into 3 problems so far.
|
|
The first two, I must have just missed. For issue 3, this is why this is a draft PR, because the issue is that CCL is not using stable_39 since it has not been updated nearly as recently, so it is erroring from that. I know that this issue is possible to resolve, as both Gregicality and SoG use stable_39 themselves and have no issues with GTCE or CCL not using the same mapping. However, I do not know how to resolve it, and as far as I know, it should just be done for us automatically by gradle. |
|
I know that 3 is doable and I saw it working on Gregicality but I am not sure why it does not work on our project. |
|
Gregicality is using different maven names for some of chickenbones's mods try this: It looks like codechicken-lib-1.8 is only available from https://minecraft.curseforge.com/api/maven I get a different error now: I don't understand what is going on with those chickenbones libs. I tried deleting my cached version of forge-multipart to see if I could figure out where it downloads it from, but now I can't find where that is. I've always liked maven. :-P |
|
I managed to figure it out, it is also coming from curseforge. The correct name is: |
|
The error above is because of a typo: There is also this one: |
|
Just in case, the patches for (1) and (2) above are: |
|
I implemented the changes suggested above, and was able to fully launch the game and load into my test worlds without issue. At this point, I believe this PR is "finished," though it will need some testing to make sure there is no other functionality change that could lead to bugs or crashes. |
|
Good work finding out what was wrong and getting it work. I will postpone this from next release as I would like to truly test it out so we can be sure that there are any bugs or side effects. |
What:
This PR addresses the issue discussed in Discord earlier,
How solved:
I updated our MCP mappings to
stable_39. Notable method name changes:Block:
World::
ResourceLocation:
NBTCompound:
Translation:
EnumFacing:
CreativeTabs:
EnumRarity:
Biome:
biomeNameis private, so I changed its references togetBiomeName()Outcome:
Update MCP Mapping to stable_39
You can verify my work using the official MCP Mapping names website, which is what I used to guarantee that we switch to the correct new method names.
Additional info:
I have not yet gotten the dev environment working without a crash due to dependencies deobfuscated files being outdated. I know that setting this up is possible, as both SoG and Gregicality are already on
stable_39, and have successfully remapped SRG->MCP for all of their dependents (same as ours in dev, and more).Possible compatibility issue:
There may be some work needed for developers to refresh their environments, but I am not sure of the extent of it since I haven't finished the build.gradle