Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
tutorial:debug_1.7.10 [2017/11/10 20:27]
payonel created
tutorial:debug_1.7.10 [2020/12/31 15:05]
kristopher38 [IDEA instructions] Included instructions on how fix missing assets
Line 64: Line 64:
   - Again, make sure you repeat this process for both `OpenComputers_api` as well as `OpenComputers_main`.   - Again, make sure you repeat this process for both `OpenComputers_api` as well as `OpenComputers_main`.
   - Close Project Structure window (press OK)   - Close Project Structure window (press OK)
 +  - Open Run->​Edit configurations,​ select Application on the left pane, and set `Use classpath of module` (left Alt+O) to `OpenComputers.main` for both `Minecraft Client` and `Minecraft Server`. This fixes the error `Error: Could not find or load main class GradleStart` if you forgot to do this step.
   - Build Project (Shift F9)   - Build Project (Shift F9)
 +  - Make symlink called `assets` to `build\resources\main\assets` in folders `build\classes\java\main` and `build\classes\scala\main`. Otherwise textures and other assets won't work.
   - Select "​Minecraft Client"​ as the run target, and run!   - Select "​Minecraft Client"​ as the run target, and run!
   ​   ​
  
 +
 +Contents
 +------------
 +{{page>​tutorial:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}