Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.07 KB

SETUP_DEV_WORKSPACE.md

File metadata and controls

32 lines (23 loc) · 2.07 KB

####Setting up the Colored Light Development Environment You're going to need to pull the repository, and switch to the current development branch. Then you can use the gradle wrapper (or gradle if you have it installed) to setup and build the workspace

cd the/place/you/want/to/put/this
git clone -b<branch_name> https://github.com/CptSpaceToaster/CptsModdingLight
cd CptsModdingLight
gradlew setupDecompWorkspace
gradlew eclipse (or your preferred development environment)

Once Gradle takes 30 minutes or less to do it's nonsense, you'll actually have an entire eclipse project to work with! Open up eclipse to a brand new workspace, NOT in the CptsModdingLight directory, then import an existing project

import1 import2

Go ahead and select the CptsModdingLight directory as your existing project, and BAM! You'll actually have most of the project after that, but you still need to setup a run configuration:

run_config1
run_config2
run_config3

Program Arguments:
--version 1.7 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken MINECRAFT_USERNAME --username=IN_GAME_NAME --userProperties={} --assetIndex 1.7.10 --assetsDir C:\users\USERNAME\.gradle\caches\minecraft\assets

VM Arguments:
-Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.coreMods.load=coloredlightscore.src.asm.ColoredLightsCoreLoadingPlugin


#####You're in! Have fun! Don't go too crazy, and be sure to add an issue if you think you found a new one.

Feel free to contact me on the forums, here on github, and in the #MinecraftForge IRC on esper.net.

Also... we registered #ColoredLightCore as well, so it would probably be good if you asked direct questions there instead. Have a great day!