Commit graph

23 commits

Author SHA1 Message Date
Vitaly Turovsky
5bc55c1bdf adjust config merging 2025-02-01 04:30:20 +03:00
Vitaly Turovsky
4cc6767c78 docker: fix volume path to use with public 2025-02-01 04:23:32 +03:00
Vitaly Turovsky
aa9400e885 always enable cors so able to connect from prod domains 2024-08-29 16:28:26 +03:00
Vitaly
24fd4d4fc0
feat: implement fast world loading with file descriptor & http backend! (#182) 2024-08-19 14:01:13 +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
dd3c331007 fix: super critical performance fix for some blocks like snow/soul sand
chore: finally a convenient way to debug mesher, now covered by test
2024-04-17 07:24:40 +03:00
Vitaly Turovsky
ca08e73b07 fix safari load breakage 2024-02-08 23:30:39 +03:00
Vitaly
ffbb5d7e75 display url to open local + network in dev! 2024-01-17 08:07:20 +05:30
Vitaly
8dc5016d26 feat: implement basic sound system 🔊🔊🔊! 2024-01-04 05:08:53 +05:30
Vitaly Turovsky
edc5fe106d fix server test, now server overrides defaultProxy to self 2023-11-05 06:53:26 +03:00
Vitaly
e874db069a server(dev): always use only one source of textures 2023-10-07 11:19:07 +03:00
Vitaly Turovsky
0005d80a54 fix server default port 2023-09-25 09:51:22 +03:00
Vitaly
23fe3ab7c3 server: allow to specify port on start 2023-09-24 23:56:10 +03:00
Vitaly
be61a6f6ee fix dev esbuild config 2023-08-28 10:34:22 +03:00
Vitaly
fc7869000e move building to esbuild
change public to dist
2023-08-28 06:37:57 +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
Romain Beaumont
c8e3ffd019
Optimize webpack usage, fix #34 (#58)
* introduce prod/dev build https://webpack.js.org/guides/production/
* use it properly with express https://webpack.js.org/guides/development/#using-webpack-dev-middleware
to provide a fast npm start (5 second)
2021-03-06 01:29:28 +01:00
Karang
edf12cea69
Add custom proxy selection (#53)
* Add custom proxy selection

* Remove request dependency

* Remove duplicate font
2021-03-04 01:39:21 +01:00
AwesomestCode
45fb68fe7b
create internal public-start command (#49)
* create internal public-start command

* lint
2021-03-03 09:59:36 +01:00
ElCholoGamer
6cc708775e
Create key codes object and replace body-parser (#20)
* Add codes object to key listener

* use express.json instead of body-parser

* run fix script

* fix tab indentation to spaces
2021-03-01 09:41:12 +01:00
Romain Beaumont
aa3785b345 fix server import 2021-02-27 22:35:59 +00:00
Romain Beaumont
1962a878b0 fix package.json 2021-02-27 22:28:08 +00:00
Romain Beaumont
d978f5c762 add code 2021-02-27 22:12:11 +00:00