The complete migration from `minecraft-assets` to [`mc-assets`](https://npmjs.com/mc-assets). Now all block states & block models are processed dynamically! So it is now easily possible to implement custom models - no post-install work anymore: the building is now 3x faster and 4x faster in docker - drop 10x total deploy size - display world ~1.5x faster - fix snow & repeater state parser (they didn't render correctly) rsbuild pipeline! - the initial app load is faster ~1.2 - much fewer requests are made & cached - dev reloads are fast now Resource pack changes: - now textures are reloaded much more quickly on the fly - add hotkey to quickly reload textures (for debugging) assigned to F3+T (open dev widget is now assigned to F3+Y) - add a way to disable resource pack instead of uninstalling it - items render from resource pack are now support - resource pack widgets & icons are now supported
61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"configurations": [
|
|
// UPDATED: all configs below are misconfigured and will crash vscode, open dist/index.html and use live preview debug instead
|
|
// recommended as much faster
|
|
{
|
|
// to launch "C:\Program Files\Google\Chrome Beta\Application\chrome.exe" --remote-debugging-port=9222
|
|
"type": "chrome",
|
|
"address": "localhost",
|
|
"name": "Attach Chrome",
|
|
"request": "attach",
|
|
// comment if using webpack
|
|
"pathMapping": {
|
|
"/": "${workspaceFolder}/dist"
|
|
},
|
|
"outFiles": [
|
|
"${workspaceFolder}/dist/**/*.js",
|
|
// "!${workspaceFolder}/dist/**/*vendors*",
|
|
"!${workspaceFolder}/dist/**/*mc-data*",
|
|
"!**/node_modules/**"
|
|
],
|
|
"skipFiles": [
|
|
// "<node_internals>/**/*vendors*"
|
|
"<node_internals>/**/*mc-data*"
|
|
],
|
|
"port": 9222,
|
|
},
|
|
{
|
|
// not recommended as in most cases it will slower as it launches from extension host so it slows down extension host, not sure why
|
|
"type": "chrome",
|
|
"name": "Launch Chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000/",
|
|
"pathMapping": {
|
|
"/": "${workspaceFolder}/dist"
|
|
},
|
|
"outFiles": [
|
|
"${workspaceFolder}/dist/**/*.js",
|
|
// "!${workspaceFolder}/dist/**/*vendors*",
|
|
"!${workspaceFolder}/dist/**/*mc-data*",
|
|
"!**/node_modules/**"
|
|
],
|
|
"skipFiles": [
|
|
// "<node_internals>/**/*vendors*"
|
|
"<node_internals>/**/*mc-data*"
|
|
],
|
|
},
|
|
{
|
|
// to launch "C:\Program Files\Mozilla Firefox\firefox.exe" -start-debugger-server
|
|
"type": "firefox",
|
|
"name": "Attach Firefox",
|
|
"request": "attach",
|
|
// comment if using webpack
|
|
"url": "http://localhost:3000/",
|
|
"webRoot": "${workspaceFolder}/",
|
|
"skipFiles": [
|
|
// "<node_internals>/**/*vendors*"
|
|
"<node_internals>/**/*mc-data*"
|
|
],
|
|
},
|
|
]
|
|
}
|