Jump to content

Recommended Posts

Posted

I would like an option that allows local mappings instead of downloading them from Forge Maven.

Some SRG names do not appear on MCPBot and some names are misleading.

I understand that those issues are supposed to be discussed at GitHub but I do not think that they are actually reviewed and resolved.

Thus, it would be nice if I could just modify mappings locally and use them.

So far, I have tried to put my mappings into zip file located in ForgeGradle's download destination.

But it seems like it gets overwritten every time.

Posted

You could just submit names to the bot...

But either way, the mappings are downloaded from maven, any maven you have configured in your project.

But the problem with using custom mappings is that other people who use your setup don't have that data.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted (edited)
11 hours ago, LexManos said:

You could just submit names to the bot...

My problem with the bot is that I cannot rename already mapped names and there are missing SRG names.

For example, net.minecraft.client.renderer.RenderType has func_230167_a_, func_230168_b_, func_230041_s_ and func_230169_u_ but typing um RenderType to the bot says no results found.

11 hours ago, LexManos said:

But either way, the mappings are downloaded from maven, any maven you have configured in your project.

Does this mean I can configure build.gradle in a way so that mappings are downloaded from somewhere else?

I currently have modified ForgeGradle and published it to local Maven and I am using mavenLocal() instead of maven { url = 'https://files.minecraftforge.net/maven' } in buildscript of build.gradle.

 

11 hours ago, LexManos said:

But the problem with using custom mappings is that other people who use your setup don't have that data.

How about providing the mappings with the setup that uses custom mappings?

Will that cause some legal issues?

Edited by lisilew
Posted

People can change mappings, you're just using the wrong command. the bot should have plenty of help text to tell you what to do.

 

and no you dont need a custom FG version -.-

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
1 hour ago, LexManos said:

People can change mappings, you're just using the wrong command. the bot should have plenty of help text to tell you what to do.

I do not know if this is outdated or not, but when I use sm command on a method that I have mapped SRG to MCP, it says

Quote

WARNING: The MCP name has already been specified for this member.

Also, that page says to not rename anything that does not have the default SRG names.

1 hour ago, LexManos said:

and no you dont need a custom FG version -.-

Then, is it possible to configure build.gradle in a way that ForgeGradle does not re-download and overwrite the mappings when it has different MD5?

Posted

Those commands are fine, and the problem with renaming things that already have names is that it fucks up other people's workspaces when they update and makes it a pain to find what was changed.

But that doesnt actually stop you from renaming things. Just don't be an ass about it and name things correctly.

And like I freaking said, the mappings are downloaded from maven.

ANY MAVEN YOU HAVE CONFIGURED IN YOUR BUILD.GRADLE will work.

Seriously, you've already hacked around things and made a 'custom FG' but can't understand the basics of setting up a maven repo in your buildscript...

Anyways, this has nothing to do with Forge.

You can already use custom mappings.

And it's a case where you're just willfully doing things the incorrect way.

So gunna close this.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello , when I try to launch the forge installer it just crash with a message for 0,5 secondes. I'm using java 17 to launch it. Here's the link of the error :https://cdn.corenexis.com/view/?img=d/ma24/qs7u4U.jpg  
    • You will find the crash-report or log in your minecraft directory (crash-report or logs folder)
    • Use a modpack which is using these 2 mods as working base:   https://www.curseforge.com/minecraft/modpacks/life-in-the-village-3
    • inicie un mundo donde instale Croptopia y Farmer's Delight, entonces instale el addon Croptopia Delight pero no funciona. es la version 1.18.2
    • Hello all. I'm currently grappling with the updateShape method in a custom class extending Block.  My code currently looks like this: The conditionals in CheckState are there to switch blockstate properties, which is working fine, as it functions correctly every time in getStateForPlacement.  The problem I'm running into is that when I update a state, the blocks seem to call CheckState with the position of the block which was changed updated last.  If I build a wall I can see the same change propagate across. My question thus is this: is updateShape sending its return to the neighbouring block?  Is each block not independently executing the updateShape method, thus inserting its own current position?  The first statement appears to be true, and the second false (each block is not independently executing the method). I have tried to fix this by saving the block's own position to a variable myPos at inception, and then feeding this in as CheckState(myPos) but this causes a worse outcome, where all blocks take the update of the first modified block, rather than just their neighbour.  This raises more questions than it answers, obviously: how is a different instance's variable propagating here?  I also tried changing it so that CheckState did not take a BlockPos, but had myPos built into the body - same problem. I have previously looked at neighbourUpdate and onNeighbourUpdate, but could not find a way to get this to work at all.  One post on here about updatePostPlacement and other methods has proven itself long superceded.  All other sources on the net seem to be out of date. Many thanks in advance for any help you might offer me, it's been several days now of trying to get this work and several weeks of generally trying to get round this roadblock.  - Sandermall
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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