Commit graph

68 commits

Author SHA1 Message Date
Vitaly
6bac74b6c1
cleanup, better resource pack support (#173) 2024-08-06 20:42:33 +03:00
Vitaly Turovsky
be5c1bcc81 fix item tooltips on mobile 2024-08-05 03:18:49 +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
2c3a38a678 add gzip size logging which is actually more important than regular size for prod build 2024-07-19 06:08:37 +03:00
qqq
b7356efbce
feat: Add a way to view / sign books (#158)
---------

Co-authored-by: soulless-ai <mr.chupak@gmail.com>
Co-authored-by: Vitaly Turovsky <vital2580@icloud.com>
2024-07-17 02:53:26 +03:00
Vitaly Turovsky
04b5d1ac3f add handled packets stats
TODO make auto-updated
2024-07-13 06:17:47 +03:00
Vitaly Turovsky
d8261c2659 fix: bundle pixealrticons with the app instead of fetching them from remote location in runtime 2024-07-07 19:18:48 +03:00
Vitaly
d81aace2d6
feat: new clean favicon (#155)
by hrgembakh
2024-07-06 00:28:59 +03:00
Vitaly Turovsky
c7a8c34d89 improve fps in some scenarios by not spamming with setTimeout calls 2024-06-24 06:31:04 +03:00
Vitaly Turovsky
f8fcee780b feat: Add recipes, usages & guides for every item in the game to builtin JEI! 2024-06-19 00:51:00 +03:00
Vitaly Turovsky
7f3d5ca1f0 rename project to minecraft-web-client
fixes issue146
2024-06-10 03:27:34 +03:00
Vitaly Turovsky
0d8beef65c feat: add gamemode selector in create world screen. always use creative with ?singleplayer=1 2024-05-26 18:58:46 +03:00
Vitaly
93e9cf877b fix project build on windows 2024-05-20 06:01:14 +03:00
Vitaly
5e94239091
feat: big fix: rendering blocks for preflat versions (<1.13)! (#125) 2024-05-20 05:47:53 +03:00
Vitaly Turovsky
c1651ce3b5 fix: some collision shapes were missing for 1.20.4 2024-05-13 15:36:11 +03:00
Vitaly
26dacc9c47 restore full source map uploading to prod for better error stacks 2024-05-10 05:06:05 +03:00
Vitaly Turovsky
2e93e90d28 impr auto publish for npm 2024-05-05 03:45:57 +03:00
Vitaly
1e7153c2e2
feat: publish all stories UI components to npm! (#111) 2024-05-05 03:25:08 +03:00
Vitaly
976f6cab2b add mesher HMR!
fix: fix all colored glass rendering!
2024-04-20 15:28:31 +03:00
Vitaly
d17e1b2acb make bundle smaller and debugger run faster 2024-04-20 13:22:26 +03:00
Vitaly Turovsky
17e13d30b1 add mc data types 2024-04-17 08:03:49 +03:00
Vitaly
2cc524a4ab
rewrite renderers to allow custom ones! worker -> mesher (#102) 2024-04-16 09:12:16 +03:00
Vitaly
aafdb64694
outdated commit hints in ci!! (#101) 2024-04-15 05:44:25 +03:00
Vitaly
0b15ac9ba0 ci: improve aliases set 2024-04-09 15:59:35 +03:00
Vitaly
ac3448c745
ci: set custom mcraft aliases for PRs! (#99) 2024-04-09 03:47:03 +03:00
Vitaly
b89aab72d0 ci: text aliases 2024-04-09 03:28:55 +03:00
Vitaly
7884b5cffc
three shake three.js (#94) 2024-03-25 13:47:01 +03:00
Vitaly Turovsky
d723401cdf shapes regression 2024-01-28 02:14:24 +05:30
Vitaly
a95f257e65 feat: basic support for 1.20.2 2024-01-22 02:07:52 +05:30
Vitaly
a16f3f63b1 also output storybook to vercel 2024-01-10 08:16:36 +05:30
Vitaly
754afb446e feat: now storybook components are available on /storybook url 2024-01-10 06:04:24 +05:30
Vitaly
65b8435d2c move not finished file to experiments for now 2024-01-07 21:52:09 +05:30
Vitaly Turovsky
6e809c6ea9 wip more collisions generator 2024-01-06 04:01:31 +05:30
Vitaly
72ef5423df fix vercel deploy sounds 2024-01-04 05:38:56 +05:30
Vitaly
8dc5016d26 feat: implement basic sound system 🔊🔊🔊! 2024-01-04 05:08:53 +05:30
Vitaly
6cd44ee82f wip working on collision shapes 2024-01-04 01:30:31 +05:30
Vitaly Turovsky
443496a788 fix: drop download & deploy size by 1.5x by inlining optimized block collision shapes 2023-11-04 09:04:09 +03:00
Vitaly Turovsky
b20d99261f allow to use linked deps such as flying-squid 2023-11-04 06:40:33 +03:00
Vitaly
c0d3b2905a copy entity directly from assets, various generator fixes 2023-10-26 04:51:23 +03:00
Vitaly
41cea43846 esbuild: don't reload when JS output file is not changed
todo restore for css
2023-10-26 01:16:36 +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
Vitaly
e874db069a server(dev): always use only one source of textures 2023-10-07 11:19:07 +03:00
Vitaly
2455c63925 refactor plugins: better mc-data support 2023-09-30 11:23:35 +03:00
Vitaly
31622543d3 remove webpack & unused deps 2023-09-26 00:08:21 +03:00
Vitaly
7e0b7d79ae add typecheck to ci, always prepare data 2023-09-25 21:48:13 +03:00
Vitaly
00defc37a5 drop dist/textures folder 76mb -> 3mb
rm unused textures, affects only deploy speed
2023-09-25 00:25:45 +03:00
Vitaly
90d382df6b sync build.js from main-ligth 2023-09-25 00:10:32 +03:00
Vitaly
14a9a2bf18
a few fixes (#20)
fix: ios improvements: always display full ui & no magnifier on double tap anymore
fix: regression: connect to p2p peers
2023-09-19 03:18:01 +03:00
Vitaly
8591653bdb add contributing, speed start, cleanup esbuild
and don't use minify in dev as it breaks breakpoints since minify inlines code
2023-09-17 22:03:26 +03:00
Vitaly Turovsky
f34a24cbb1 should fix build 2023-09-15 07:06:26 +03:00