User Tools

Site Tools


tutorial:vscode_setup

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tutorial:vscode_setup [2019/05/21 17:04]
falseresync ↷ Page moved and renamed from setup:vscode to tutorial:vscode_setup
tutorial:vscode_setup [2019/07/02 21:02] (current)
modmuss50
Line 23: Line 23:
 Finally, to launch the game, select the debug menu item on the left. This will then build your mod and launch the game. Finally, to launch the game, select the debug menu item on the left. This will then build your mod and launch the game.
  
 +===== Generating minecraft source =====
 +
 +If you want to browse the source of minecraft you can use the `genSources` task from gradle, this can be done by running the following command in your terminal `.\gradlew genSources`.
 +
 +Next you will need to fresh the java project, this can be done by pressing `Shift+Alt+U` while having the build.gradle file open.
 +
 +To search for minecraft classes you can open the search pane with `Shift+P` and then prefix your searches with `#` to search for the minecraft classes.
  
tutorial/vscode_setup.txt · Last modified: 2019/07/02 21:02 by modmuss50