Commit graph

11 commits

Author SHA1 Message Date
Vitaly
f96673bc17
rename prismarine-viewer dir to renderer to avoid confusion (#269) 2025-02-08 14:17:27 +03:00
Vitaly Turovsky
4cc6767c78 docker: fix volume path to use with public 2025-02-01 04:23:32 +03:00
Vitaly Turovsky
297d94d419 fix sounds enabling in dockerfile 2025-02-01 03:20:13 +03:00
Vitaly Turovsky
28552bd1de feat: Add option to disable service worker during build 2025-02-01 02:23:47 +03:00
Vitaly Turovsky
1f5404be9d DOWNLOAD_SOUNDS flag 2025-01-29 04:02:21 +03:00
Vitaly Turovsky
84bc3d5911 add recommended but optional mount volume to dockerfile config 2025-01-26 15:25:50 +03:00
Vitaly Turovsky
574cdfc531 docs: add deploy to Koyeb button 2024-11-09 11:19:40 +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
512bc09477 make main docker build 5x smaller, add only proxy dockerfile 2024-07-14 01:55:41 +03:00
Vitaly Turovsky
324c08ef43 finally update dockerfile to a working one! uses 6gb of ram to build btw. image size: 2.4gb, ~200mb when running 2024-07-07 00:32:04 +03:00
dada513
4d4b32e8de
Added docker support, made config dynamic (#108)
* Made config.json dynamic

* added docker support

* Fixed dockerfile npm install error

* fixed line ends

* Revert "Made config.json dynamic"

This reverts commit 5cb413b9aabfcec98335bf6ab6b589c2bc29c3e4.

* config.json is now loaded dynamically

* Made dynamic config work on github page

* config is now dynamically copied

* removed sync-request dependency

Co-authored-by: d513 <ogoniasty513@gmail.com>
2021-03-21 17:14:14 +01:00