MrCrayfish / MrCrayfishDeviceMod

A Minecraft Mod that adds in electronic devices that actually work
Other
79 stars 53 forks source link

Source installation information for modders


This code follows the Minecraft Forge installation methodology. It will apply some small patches to the vanilla MCP source code, giving you and it access to some of the data and functions you need to build a successful mod.

Note also that the patches are built against "unrenamed" MCP source code (aka srgnames) - this means that you will not be able to read them directly against normal code.

Source pack installation information:


Standalone source installation


Should it still not work, Refer to #ForgeGradle on EsperNet for more information about the gradle environment.

Tip: If you do not care about seeing Minecraft's source code you can replace setupDecompWorkspace with one of the following:

Command Action
setupDevWorkspace: Will patch, deobfusicated, and gather required assets to run minecraft, but will not generated human readable source code.
setupCIWorkspace: Same as Dev but will not download any assets. This is useful in build servers as it is the fastest because it does the least work.

Tip: When using Decomp workspace, the Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes and usually can be accessed under the 'referenced libraries' section of your IDE.


Forge source installation


MinecraftForge ships with this code and installs it as part of the forge installation process, no further action is required on your part.


LexManos' Install Video


Forge Gradle Setup, updating, and release

For more details update more often refer to the Forge Forums.