diff --git a/.gitignore b/.gitignore index 903b950..d716568 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .DS_Store -.vscode/ /build /.regolith \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..7c6fbd4 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "version": "0.3.0", + "configurations": [ + { + "type": "minecraft-js", + "request": "attach", + "name": "Debug with Minecraft", + "mode": "listen", + "targetModuleUuid": "8bb9a1e4-0531-4b93-8ade-3880bfe1e2fc", + "localRoot": "${workspaceFolder}/packs/BP/scripts", + "port": 19144, + "preLaunchTask": "regolith: watch" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..6121569 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,44 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "regolith: run", + "type": "shell", + "command": "regolith run", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "echo": true, + "close": true + } + }, + { + "label": "regolith: watch", + "type": "shell", + "command": "regolith watch", + "isBackground": true, + "problemMatcher": { + "pattern": [ + { + "regexp": ".", + "file": 1, + "location": 2, + "message": 3 + } + ], + "background": { + "activeOnStart": true, + "beginsPattern": ".", + "endsPattern": "." + } + }, + "presentation": { + "echo": true, + "close": true + } + } + ] +} \ No newline at end of file