This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
tutorial:debug_1.7.10 [2020/12/31 04:07] kristopher38 [IDEA instructions] Added a small missing step which prevented the launcher from running |
tutorial:debug_1.7.10 [2020/12/31 15:05] kristopher38 [IDEA instructions] Included instructions on how fix missing assets |
||
---|---|---|---|
Line 66: | Line 66: | ||
- 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. | - 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! | ||
| |