Advertisement
Guest User

Untitled

a guest
Jun 11th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. Steps for command line installation of DWCM development environment
  2.  
  3. 1. Install forge (Recommended version: 1.7.10-10.13.3.1420-1.7.10)
  4. > 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)
  5.  
  6. 2. Setup forge
  7. > gradlew setupDecompWorkspace
  8. > gradlew eclipse
  9.  
  10. 3. Clone the 1.7.2 branch of the DWCM into a folder named "dwcm"
  11. > git clone -b "1.7.2" --recursive https://bitbucket.org/moddivision/doctor-who-client-mod.git dwcm
  12.  
  13. 4. Apply DWCM's access transformer
  14. > Remove the Forge jar from the project libraries
  15. > Add lib/forgeSrc-###.jar to project library
  16. >
  17. > Eclipse:
  18. > > Package Explorer > (right click) Minecraft > Properties > Java Build Path > Libraries
  19. > > Remove JAR "forgeSrc-xxx.jar
  20. > > Add JARs > "Minecraft > dwcm > lib > select forgeSrc-xxx.jar AND forgeSrc-xxx-sources.jar"
  21.  
  22. 5. Inject DWCM files into your Eclipse project
  23. > cd dwcm/
  24. > python installEclipse.py
  25.  
  26. 6. Tell Forge to display stencils (Latest 1.7.10 Forge has stencils disabled by default)
  27. > Open project's run configuration
  28. > Go to VM arguments
  29. > Add "-Dforge.forceDisplayStencil=true"
  30. >
  31. > Eclipse:
  32. > > Package Explorer > (right click) Minecraft > Properties > Run/Debub Settings
  33. > > Select "Client" > Edit... > "Arguments" tab
  34. > > Add VM Argument
  35. > > Apply > OK
  36.  
  37. 7. Complete
  38. > Open up eclipse and point the workspace to your "forge/eclipse" directory
  39.  
  40. Steps for building
  41. 1. Open cmd/terminal, navigate to the forge directory in which you have the 'dwcm' repo folder
  42.  
  43. 2. Run "gradle build", using the build.gradle file in the repo
  44. > "gradlew -b dwcm/build_dwcm.gradle build"
  45.  
  46. 3. Complete
  47. > Go to build/lib, the mod jar should be there
  48. > That mod jar now goes into /.minecraft/mods folder
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement