Commit graph

59 commits

Author SHA1 Message Date
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
Maksim Grigorev
087e167826
feat: configurable mobile top buttons! (#361) 2025-05-30 16:43:06 +03:00
Vitaly Turovsky
529b465d32 sync for changes between forks
fix: sometimes autlogin save prompt is not displayed
fix: add connect server only ui
add some other components for future usage
fix: make some fields custommization in main menu from config.json
fix: adjust logic on player disconnect in some rare cases
2025-04-17 20:51:06 +03:00
Vitaly Turovsky
5bb09a88bc fix: dont confuse with incorrect version display, allow to use config values as params in real time 2025-03-17 20:08:32 +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
edad57a225 feat: allow to load client without free space on device (or no write permissions) 2025-02-26 22:56:02 +03:00
Max Lee
8ff05924dd
feat: add config option for pause screen links (#288) 2025-02-26 22:31:22 +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
65af9a73c2
feat: rework hand! enable by default, fix bow anim (#261)
* refactor swing animation to controller

* idle animator!!!!

* implelment state switch transition

* a huge fix for UI server edit!

* adjust ui scaling so main menu elements clip less

* view bobbing, new config name, ws:

* EXTREMELY important fixes to entities rendering

* a lot of fixes, add dns resolve fallback

* improve f3 E, fix modal not found edge case

* set correctly target for old browsers, should fix ios 14 crash

* unecessary big refactor, to fix ts err

* fix isWysiwyg check

* fix entities rendering count
2025-02-15 05:14:36 +03:00
gguio
25c07b14a9
feat: some minimap fixes (#249) 2025-02-13 05:07:19 +03:00
Vitaly Turovsky
cea4d7f277 feat: implement full support for new mineflayer plugin! add UI customization, motion effect, JS repl console and more! 2025-02-10 19:54:38 +03:00
Vitaly
9be5950760
feat: Connections issues icon & reconnect button (#268) 2025-02-07 13:01:22 +03:00
Vitaly Turovsky
b5a16d520a feat: Add WebSocket server support for direct connections! (no proxy url is used then) 2025-02-04 04:56:37 +03:00
Vitaly
379484327e
refactor: Rework mobile controls! (#260)
Separate movement and interaction touch controls
Add new options for touch control types (modern/classic)
Refactor touch interaction handling and event management
Create a new GameInteractionOverlay component for touch interactions for less bugs in future
Update touch controls UI and positioning logic

Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-01 02:51:56 +03:00
Vitaly Turovsky
f755385981 refactor: rm loadedGameState, add a way to copy server resource pack to local 2025-01-31 05:52:55 +03:00
Vitaly Turovsky
28f0546f3b feat(ui): add back, close buttons in settings for mobile 2025-01-31 03:52:07 +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
db7a9b9dd2 feat: add zoom keybinding (Key - C) 2024-12-18 22:22:11 +03:00
gguio
af088d92e1
feat: minimap and full screen map (disabled by default) (#147) 2024-11-27 23:07:28 +03:00
Vitaly Turovsky
ab5f6ab448 fix: add fallback peerjs discovery server to bypass geo restrictions and because sometimes official server is down
feat: allow to use custom peerjs server via config
2024-10-01 01:34:42 +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 Turovsky
34a6f1d9c3 fix: fix critical bug which was resulting in incorrect modals (and whole app) state in some extremely rare cases 2024-08-26 00:41:23 +03:00
Vitaly
d4f06aa1a4
lint prismarine-viewer & better ci checks (#171) 2024-08-06 03:20:38 +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
gguio
68269ee975
feat: Screenshot on F2 and hide/show UI on F1 (#136)
Co-authored-by: gguio <nikvish150@gmail.com>
2024-05-27 11:24:28 +03:00
Vitaly Turovsky
5198e69816 fix: correctly display item names in inventory GUI
fix: fix opening nested inventory GUI on servers!
2024-05-18 05:57:50 +03:00
Vitaly
826c66b9ec
feat: brand new Servers List UI /w auto login feature! (#110) 2024-05-04 16:07:18 +03:00
Vitaly
0886af9b05
feat: Migrate HUD to React, new hotbar and bars (#107) 2024-04-20 17:38:23 +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 Turovsky
d7bdf3633d feat: new reworked notifications
feat: support for world icons in singleplayer menu
2024-03-21 07:24:22 +03:00
Vitaly
a37cc77050 move unrelated exports from globalState, fix storybook build 2024-02-15 05:11:49 +03:00
Vitaly Turovsky
85cfdf3c33 feat: add jei to quickly pick items in creative mode 2024-02-13 16:58:06 +03:00
Vitaly
aecd64cb1e fix: add logic for force reload when failed to update application because of browser or cdn cache, update status on click 2024-01-08 06:22:40 +05:30
Vitaly
8dc5016d26 feat: implement basic sound system 🔊🔊🔊! 2024-01-04 05:08:53 +05:30
Vitaly
e8277fb4ce feat: now defaultProxy and defaultHost serve as default values when nothing is entered (behave as fallback values) use new config params with save at the end for previous behavior (but still deprecated) 2023-11-23 00:40:54 +03:00
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
e7adabf50b feat(experimental): add maps provider 2023-10-27 20:37:09 +03:00
Vitaly
0c85320d82 a bunch of mobile fixes
fix(singleplayer): fix issues were void and water-only worlds couldnt' be loaded because server were unable to find spawn point
2023-10-27 08:17:08 +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
249a4ce1f8 fix: hide mobile controls on gamepad input 2023-10-24 23:58:53 +03:00
Vitaly
30c65f8943 fix: fix edge load cases when fs was not ready yet by delaying main menu display 2023-10-19 19:14:43 +03:00
Vitaly
68d0bc363c many performance & regression fixes
fix: fix too bad performance in generated singleplayer worlds by disabling auto-save feature! Now saving on disconnect click & window focus blur! When opening folders in write-mode there is still 1s auto-save interval though
2023-10-17 23:08:55 +03:00
Vitaly
819a436fa0 refactor options 2023-10-16 20:20:52 +03:00
Vitaly Turovsky
cfdd84eee9 refactor loading error screen to AppStatus (react) to include transitions
better loading status
cleanup components
2023-10-13 18:52:25 +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 Turovsky
60b3c0c529 add MessageFormattedString, loadedDataVersion state 2023-10-10 18:03:23 +03:00
Vitaly Turovsky
2fcb353c3e lint space-before-function-paren, remove not used scripts in viewer 2023-10-10 17:08:30 +03:00
Vitaly
69fae4961a
fix: fix literally broken mobile support (regression) 2023-09-30 01:25:15 +03:00
Vitaly
b0686d04de fixup! fix: correctly restore main menu after server disconnect 2023-09-28 03:27:33 +03:00
Vitaly
44dc7c0817 fix: correctly restore main menu after server disconnect 2023-09-28 03:20:28 +03:00