Commit graph

36 commits

Author SHA1 Message Date
Vitaly Turovsky
e1293b6cb3 - Introduced a patchAssets script to apply custom textures to the blocks and items atlases.
- Enhanced the ThreeJsSound class to support sound playback timeout and volume adjustments.
- Added a custom sound system to handle named sound effects with metadata.
2025-08-16 09:15:37 +03:00
Vitaly
5bd33a546a
More build configs & optimise reconnect and immediate game enter (#398)
feat(custom-builds): Add a way to bundle only specific minecraft version data, this does not affect assets though
env:
MIN_MC_VERSION
MAX_MC_VERSION
new SKIP_MC_DATA_RECIPES - if recipes are not used in game
fix: refactor QS params handling to ensure panorama & main menu never loaded when immedieate game enter action is expected (eg ?autoConnect=1)
2025-07-18 04:39:05 +03:00
Vitaly
826b24d9e2
Metrics server (#390) 2025-07-09 16:10:50 +03:00
Vitaly Turovsky
01567ea589 add "mcraft.fun/debug-inputs.html" 2025-07-04 01:44:26 +03:00
Vitaly Turovsky
fcf987efe4 always display reconnect button on mcraft.fun 2025-07-02 19:21:18 +03:00
Vitaly Turovsky
1310109c01 fix: username was not saved after properly after resolving the storage conflict 2025-06-30 19:48:43 +03:00
Vitaly Turovsky
dc2c5a2d88 fix: make it run on ios 15! 2025-06-30 19:11:59 +03:00
Vitaly Turovsky
eedd9f1b8f feat: Now settings and servers list synced via top-domain cookies! Eg different subdomains like s.mcraft.fun and mcraft.fun will now share the same settings! Can be disabled.
feat: Now its possible to import data!
2025-06-27 16:28:15 +03:00
Vitaly Turovsky
510d163067 allow client to be loaded from other domains 2025-04-24 23:19:12 +03:00
Vitaly
28faa9417a
feat: Client side js mods. Modding! (#255) 2025-04-23 09:17:33 +03:00
Vitaly
47864f0023
ci: report size change + always check single file build (#320)
* init

* should be final

* mbmb

* Update .github/workflows/bundle-stats.yml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-29 10:41:25 +03:00
Vitaly Turovsky
87e5ae253d simplify panorama, sfp fixes! 2025-03-12 00:14:16 +03:00
Vitaly
b8b1320258
feat: single file build! (#181) 2025-03-11 23:58:52 +03:00
Vitaly
1c700aac1e
feat(config-json): Only either bundle or load from remote (#291) 2025-03-04 19:00:20 +03:00
Vitaly Turovsky
deedcda467 correctly merge local config when building 2025-02-26 03:54:25 +03:00
Vitaly Turovsky
acd8144d76 feat: initial config.json is now bundled on build step, which is required for defaultSettings
feat: allow to specify default and locked settings in config.json
feat: allow to specify default app params in config.json
feat: rework how loading progress is reported in app on connect
feat: add setting to wait for chunks to load before starting rendering (which is highly recommended to enable), however not enabled by default because functionality is top priority of the client out of the box, not pleasent ux, so pls enable yourself
2025-02-26 03:29:10 +03:00
Vitaly Turovsky
946fc26d86 correctly open release link, show build info 2025-02-11 16:26:17 +03:00
Vitaly
f96673bc17
rename prismarine-viewer dir to renderer to avoid confusion (#269) 2025-02-08 14:17:27 +03:00
Vitaly Turovsky
28552bd1de feat: Add option to disable service worker during build 2025-02-01 02:23:47 +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 Turovsky
87b795bdc4 fix(regression): ip qs param was ignored
fix: add local (gitignored) config that is merged into single config after the build
2025-01-09 21:44:59 +07:00
Vitaly Turovsky
cf7c4664f2 copy .map file for mesher in dev for better dx 2024-12-03 10:06:18 +03:00
Vitaly Turovsky
667eff49af feat: write published version name on prod website! 2024-11-01 06:40:37 +03:00
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 Turovsky
76bed4d496 eslint: ignore dist linting! 2024-09-11 03:34:55 +03:00
Vitaly Turovsky
f9b87d5087 move playground to rsbuild! now fast reloads!
reload on workers change

fix cd
2024-09-11 02:28:56 +03:00
Vitaly
eb0bc02647
feat: All versions now are available offline! (#174) 2024-08-31 19:50:33 +03:00
Vitaly Turovsky
447f5eabc8 skip building worker in dev by default because of new scripts change 2024-08-31 18:51:40 +03:00
Vitaly Turovsky
3a646121ed fix(regression): MS auth was completely broken 2024-08-24 05:13:55 +03:00
Vitaly Turovsky
89f7cfa644 feat: optimize build: load faster by 15% and do not duplicate three js import (tree-shake instead) 2024-08-18 14:39:02 +03:00
Vitaly Turovsky
044ada20d8 fix build on ci 2024-08-16 19:46:10 +03:00
Vitaly Turovsky
bf44b07d00 make links in the app more flexible 2024-08-16 19:21:58 +03:00
Vitaly Turovsky
f7615ae581 experimental: faster server start & build 2024-08-13 01:18:23 +03:00
Vitaly Turovsky
647d33bba4 fix build: create generated dir 2024-08-05 03:09:27 +03:00
Vitaly Turovsky
573e025de2 rework contributing to outline all scripts, remove postinstall 2024-08-04 23:42: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