Commit graph

9 commits

Author SHA1 Message Date
Vitaly Turovsky
998f0f0a85 fix: fix sentry #6092213276 DataCloneError: Cannot decode detached ArrayBuffer 2025-03-05 13:07:21 +03:00
Vitaly
df442338f8
feat(sounds): Add sound variants and resource pack support! (#258)
feat: add in-game music support! Enable it with `options.enableMusic = true`
2025-01-29 04:54:51 +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
99e58d8069 fix: improve compatibility with tor browser by disabling sound support 2024-02-16 13:45:41 +03:00
Vitaly Turovsky
9c4c439142 feat: now you can control opacity of the chat (and in opened state too!)
feat: now camera sens Y defaults to the sens X value (can be set to mirror X value by moving slider to the left)
fix(regression): chat mobile styles were incorrect, fix chat overflow when settings are opened
2024-01-05 23:41:25 +05:30
Vitaly
8dc5016d26 feat: implement basic sound system 🔊🔊🔊! 2024-01-04 05:08:53 +05:30
Vitaly
3b4d5e04b8 fix: minimal value of settings by default is now 0 which is important for sound
fix: don't start audiocontext when muted, so browser don't try to take exclusive control over sound output device when it's busy in super advanced setups
2023-11-10 11:13:58 +03:00
Vitaly
d546fa8f41 enable strict null types which improves quality of codebase a lot!
todo add types to worker & world renderer
2023-11-01 03:07:07 +03:00
Vitaly Turovsky
9351732d09 feat: new scalable options GUI. Refactored options & main menu to React
chore: added storybook!
fixed too big ts language service memory consumption (json mc-data)
2023-10-11 19:38:16 +03:00