Commit graph

10 commits

Author SHA1 Message Date
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
60934372af feat: signs rendering support!
feat: shulker box rendering support
chore: minor improvements
2023-10-07 11:17:29 +03:00
Vitaly
ce6e02ed1f refactor controls to use contro-max!
it allows to use between mobile keyboard & gamepad consistently!
fixed double jump!
2023-09-04 07:39:16 +03:00
Vitaly
b396d3f832 add firefox attach config that I don't use 2023-09-03 13:19:47 +03:00
Vitaly Turovsky
0aa9e75819 feat: world loading on ios (support zip files)! 2023-08-29 10:26:09 +03:00
Vitaly
1ecdc76891 fix debug config, align generated sw with webpack, cleanup optionsStorage 2023-08-28 12:34:25 +03:00
Vitaly
fc7869000e move building to esbuild
change public to dist
2023-08-28 06:37:57 +03:00
Vitaly
454c7892f5 speed debugging a bit 2023-08-16 23:38:09 +03:00
Vitaly
4d349bf8ea commit missing files in order to fix build 2023-08-11 19:07:23 +03:00
Vitaly
e8a18dabdc Add debug config! 2023-08-09 21:00:50 +03:00