Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Steps for command line installation of DWCM development environment
- 1. Install forge (Recommended version: 1.7.10-10.13.3.1420-1.7.10)
- > Link: [Download Link](http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.3.1420-1.7.10/forge-1.7.10-10.13.3.1420-1.7.10-src.zip)
- 2. Setup forge
- > gradlew setupDecompWorkspace
- > gradlew eclipse
- 3. Clone the 1.7.2 branch of the DWCM into a folder named "dwcm"
- > git clone -b "1.7.2" --recursive https://bitbucket.org/moddivision/doctor-who-client-mod.git dwcm
- 4. Apply DWCM's access transformer
- > Remove the Forge jar from the project libraries
- > Add lib/forgeSrc-###.jar to project library
- >
- > Eclipse:
- > > Package Explorer > (right click) Minecraft > Properties > Java Build Path > Libraries
- > > Remove JAR "forgeSrc-xxx.jar
- > > Add JARs > "Minecraft > dwcm > lib > select forgeSrc-xxx.jar AND forgeSrc-xxx-sources.jar"
- 5. Inject DWCM files into your Eclipse project
- > cd dwcm/
- > python installEclipse.py
- 6. Tell Forge to display stencils (Latest 1.7.10 Forge has stencils disabled by default)
- > Open project's run configuration
- > Go to VM arguments
- > Add "-Dforge.forceDisplayStencil=true"
- >
- > Eclipse:
- > > Package Explorer > (right click) Minecraft > Properties > Run/Debub Settings
- > > Select "Client" > Edit... > "Arguments" tab
- > > Add VM Argument
- > > Apply > OK
- 7. Complete
- > Open up eclipse and point the workspace to your "forge/eclipse" directory
- Steps for building
- 1. Open cmd/terminal, navigate to the forge directory in which you have the 'dwcm' repo folder
- 2. Run "gradle build", using the build.gradle file in the repo
- > "gradlew -b dwcm/build_dwcm.gradle build"
- 3. Complete
- > Go to build/lib, the mod jar should be there
- > That mod jar now goes into /.minecraft/mods folder
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement