Jump to content

Recommended Posts

Posted

Minecraft is still copyrighted material, they run it through an obfuscator before publishing it as a minimum level of protection.

 

As far as I know, these are the naming schemes that Minecraft can exist in:

  • Mojang Names
  • Obfuscated / Proguard Names
  • SRG Names
  • MCP Names

 

...and this is how the process goes:

  1. Mojang develops the game using human-readable names
  2. Mojang publishes a version of minecraft that is built and obfuscated (I'm not sure of the order at this stage).
  3. The MCP/Forge team decompile Minecraft and run it through a toolset that analyzes the code and remaps it to a new set of names while trying to identify previously known classes, methods, and fields and label them with the same names they had in previous versions.
  4. During ForgeDev and ModDev, ForgeGradle remaps these names again to Community-Contributed Human-Readable names
  5. During Forge and Mod publishing, these names are mapped back to the intermediate mappings to keep them consistent at runtime

If a member of the core team wants to correct me, please do so I can update, refine, and possibly reuse this explanation

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 1/24/2020 at 4:13 PM, Drachenbauer said:

Isn`t it easyer for the Mojang-people to build it with useful names there?

Expand  

Dude, when they work on Minecraft they see the code without obfuscation so they know exactly what does each method do, then when they compile the release version they obfuscate it so it is harder for other people (like the Forge devs) to understand the code... d'oh!!

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.