Commit graph

4 commits

Author SHA1 Message Date
Vitaly Turovsky
a1c41e8767 fix: up deps to support 1.20.5 and 1.20.6
fix: fix raycast. Wasn't possible to active the block when inside of it
2024-10-20 18:26:05 +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 Turovsky
d723401cdf shapes regression 2024-01-28 02:14:24 +05:30
Vitaly Turovsky
443496a788 fix: drop download & deploy size by 1.5x by inlining optimized block collision shapes 2023-11-04 09:04:09 +03:00