Commit graph

20 commits

Author SHA1 Message Date
Vitaly Turovsky
97533cfddb cache sounds, report downloading assets 2025-04-24 21:37:49 +03:00
Vitaly
f96673bc17
rename prismarine-viewer dir to renderer to avoid confusion (#269) 2025-02-08 14:17:27 +03:00
Vitaly Turovsky
e28608f86e also cache manifest.json into offline 2024-11-11 18:04:54 +03:00
Vitaly
eb0bc02647
feat: All versions now are available offline! (#174) 2024-08-31 19:50:33 +03:00
Vitaly
9b72cdb8f0
feat: migrate to mc-assets & Rsbuild better resource pack support (#164)
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
2024-07-26 13:12:28 +03:00
Vitaly
2cc524a4ab
rewrite renderers to allow custom ones! worker -> mesher (#102) 2024-04-16 09:12:16 +03:00
Vitaly
a16f3f63b1 also output storybook to vercel 2024-01-10 08:16:36 +05:30
Vitaly
754afb446e feat: now storybook components are available on /storybook url 2024-01-10 06:04:24 +05:30
Vitaly
c0d3b2905a copy entity directly from assets, various generator fixes 2023-10-26 04:51:23 +03:00
Vitaly
e874db069a server(dev): always use only one source of textures 2023-10-07 11:19:07 +03:00
Vitaly
31622543d3 remove webpack & unused deps 2023-09-26 00:08:21 +03:00
Vitaly
00defc37a5 drop dist/textures folder 76mb -> 3mb
rm unused textures, affects only deploy speed
2023-09-25 00:25:45 +03:00
Vitaly
90d382df6b sync build.js from main-ligth 2023-09-25 00:10:32 +03:00
Vitaly Turovsky
5f1b5b9834 improve eruda check & sw index.html 2023-09-04 15:56:58 +03:00
Vitaly
3daefc23de build prismarine-viewer locally which should increase install speed 2023-09-04 10:46:53 +03:00
Vitaly
3bf2b28584 fix sw error, cache mc-data 2023-09-04 07:51:28 +03:00
Vitaly
ad0b545301 copy only entity textures, inline others! it reduces copy time and deploy size 2023-08-30 10:53:58 +03:00
Vitaly
fc7869000e move building to esbuild
change public to dist
2023-08-28 06:37:57 +03:00
Vitaly
b2cc868e76 manually craft sw to allow singleplayer fully offline! 2023-08-19 04:26:24 +03:00
Vitaly
0b2191a63d implement singleplayer (not the best way & buggy) 2023-08-17 04:20:55 +03:00
Renamed from build.js (Browse further)