Commit graph

36 commits

Author SHA1 Message Date
Vitaly Turovsky
34eecc166f feat: rework singleplayer generators types. now any generator can be used internally. add a few 2025-06-29 02:38:19 +03:00
Vitaly
0aa4d11bdd
feat: Performance benchmark!! (#153) 2025-04-07 02:21:37 +03:00
Vitaly
908fa64f2f
pick most of changes from webgpu for better stability (#322) 2025-04-06 00:22:27 +03:00
Vitaly
0f3145bb8e
feat: app <-> renderer REWORK. Add new layers for stability (#315) 2025-03-25 02:08:32 +03:00
Vitaly
f96673bc17
rename prismarine-viewer dir to renderer to avoid confusion (#269) 2025-02-08 14:17:27 +03:00
Max Lee
d4e93d4d39
fix: kick screen would allow going back with lockConnect parameter (#253)
refactor qs getters in codebase
Co-authored-by: Vitaly <vital2580@icloud.com>
2025-02-01 06:24:04 +03:00
Vitaly Turovsky
ffc9a0c458 fix: update "save remote world to your device" function to support new HTTP backend 2024-08-26 03:11:23 +03:00
Vitaly
d4f06aa1a4
lint prismarine-viewer & better ci checks (#171) 2024-08-06 03:20:38 +03:00
Vitaly Turovsky
9f90d6a187 revert setting save loaded early 2024-08-05 05:21:31 +03:00
Vitaly Turovsky
1e8dcdb170 feat(mobile): add helpers like shift & only hover modes to inventory
fix: now inventory correctly displays tooltip for JEI area
chore: fix a few other minor bugs
2024-08-05 00:30:33 +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
5be093a25f feat: support world saves for all versions of Minecraft Java! 2024-06-13 03:46:59 +03:00
Vitaly
86554050c3 up tested ver 2024-05-05 03:26:56 +03:00
Vitaly Turovsky
a504d3f5aa disable some useless warnings 2024-04-27 16:11:38 +03:00
gguio
07491fd72c
feat: effects + system indicators in hud! (#95)
Co-authored-by: gguio <nikvish150@gmail.com>
2024-03-26 16:00:11 +03:00
Vitaly
6997e78cf1 fix warps display for greenfield & click action 2024-03-25 09:57:26 +03:00
Vitaly Turovsky
d7bdf3633d feat: new reworked notifications
feat: support for world icons in singleplayer menu
2024-03-21 07:24:22 +03:00
Vitaly Turovsky
14460a62b2 feat: allow copying maps to device memory from external providers (eg zip, remote) from pause menu
feat: display broken worlds warning
fix: fs didn't reset on world unload
feat: allow full warps support (eg Greenfield maps)! with a way to set your own
2024-03-21 06:32:14 +03:00
Vitaly
a37cc77050 move unrelated exports from globalState, fix storybook build 2024-02-15 05:11:49 +03:00
Vitaly Turovsky
c6ab5587d0 use npm version of flying squid
fixes #39
2024-01-21 08:19:32 +05:30
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
69d56b655f workaround for loading from downloaded file 2023-10-27 22:55:54 +03:00
Vitaly
52c5777ebd fix(singleplayer): write player data into level.dat which is required for singleplayer vanilla 2023-10-27 10:10:14 +03:00
Vitaly
b199b2e6d8 feat: new singleplayer menu! Now migrated to IndexedDB storage:
- now you can store multiple different worlds and export them for native client at any time
- almost unlimited storage limit
- world auto save now works
- can configure world type
fix: texturepack should be applied when opening folders
feat(world-options): can now save worlds downloaded from url to browser storage (useful for ios, otherwise use folders)
feat: added new export method: directly to folder on the drive (which is faster) - available from main menu
fix: now 'singleplayer' qs opens temporary world which is not saved and 'loadSave' opens save with specific folder name
2023-10-26 04:26:58 +03:00
Vitaly
a68e13fef7 fix: be less annoying when loading save that have major version support
fix: informative errors when drag n dropped unknown content
2023-10-17 15:21:50 +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
30099a0bd8 fix eslint 2023-10-05 12:05:29 +03:00
Vitaly
7c4d34c9c2 resolve pr todo comments 2023-09-26 08:43:54 +03:00
Vitaly
ff2c9e4c0c enforce style that was used in repo! indent back to 2 2023-09-26 08:26:20 +03:00
Vitaly
5b9c268750 add massive eslint config and big number of fixes for it! thx to ext 2023-09-26 08:01:17 +03:00
Vitaly Turovsky
70572b387f initial resource pack support (blocks only)! support custom size 2023-09-15 03:21:24 +03:00
Vitaly
9c122c2738 propose to remove world only for on-device saves 2023-09-07 06:23:11 +03:00
Vitaly
bbb76eef36 small cleanup, don't specify default version 2023-09-07 06:18:31 +03:00
Vitaly
29e68512f4 better download ui & fix qs conflict 2023-09-04 12:16:23 +03:00
Vitaly
32482d87dc add a way to disable prompts on load 2023-09-04 10:47:15 +03:00
Vitaly
ea7e0b9ba5 loadFolder -> loadSave 2023-09-04 09:27:20 +03:00
Renamed from src/loadFolder.ts (Browse further)