michaljaz / webmc Goto Github PK
View Code? Open in Web Editor NEWPoC Minecraft client written in Javascript (1.16.5 offline mode working)
Home Page: http://webmc.js.org/
License: MIT License
PoC Minecraft client written in Javascript (1.16.5 offline mode working)
Home Page: http://webmc.js.org/
License: MIT License
Running in Firefox on an iPad Air 4 iOS 14.4. Running vanilla mc server 1.16.5 offline mode.
Running web-minecraft latest commit in dev mode.
I suspect something funky is happening with WebKit html rendering over something like Chromium. In the web-minecraft logs I can see that my character is connecting, and in the minecraft server logs I see that the client connects successfully.
Let me know what other information you would like from me, I am happy to help in debugging all that I can, I absolutely love this project idea!!
I think its better for put objects correctly in cases
use ws module in server and window.WebSocket in client
Use that ans Minecraft like menu
It is need to be added premium account support to play on 'online-mode=true' servers.
Premium password will be stored encrypted in cookies or localStorage.
I was playing and took some damage. I of course tried to eat an apple but i couldn't right click it. It looks like eating isn't implemented yet.
Titre said who i want
Is it just me or does this feel super incomplete?
When pressing numbers on keyboard inventory bar, cursor isn't changing (switching).
Use node-minecraft-protocol instead of mineflayer
We need gitpod.io support
Use bot.flyTo() function. Use Tween.js and also add flyspeed.
Heroku is slow, we can improve demo`s lag by moving a better vds with good network.
@michaljaz All entity was rendered expected players
And for go to other dimensions, Mineflayer bot crashes
prismarine-viewer is a library maintained by the prismarineJS community that provides functions to render a minecraft world.
It seems like you implemented some part of it, but you also implemented some features that are missing in prismarine-viewer and you are missing some other features. Both projects could be benefit if you decide to use prismarine-viewer for your rendering.
Use js.org instead of heroku
Maybe using svg?
cmd : sudo npm run build
result:
[email protected] prebuild /home/lsannier/Desktop/web-minecraft
node src/server/prebuild
Generated blocksDefinitions: /home/lsannier/Desktop/web-minecraft/src/server/../client/static/assets/blocks/blocksDef.json
internal/modules/cjs/loader.js:983
throw err;
^
Error: Cannot find module '../build/Release/canvas.node'
Require stack:
node src/server/prebuild
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-01-30T08_46_25_105Z-debug.log
Send information such as biomes or skylight, maybe using chunk.toJson() instead of chunk.sections
Remove minecraft server setup sumarry because no npm run server for thΓ© moment
Or we can add again npm run server.
Further texture more blurry
There are too much meshes on the scene, so meshes must be merged to bigger meshes or one single mesh.
This will improve performance with large render distance.
(WIth columns meshes it will be 16x less render calls)
Add skin by username when inventory menu
And default skin to assets/models/player.png
Add minecraft like font style in css.
Serve static files from dist folder and connect to node.js proxy.
Array of player connected is based on player connected to webmc. So we can connect only one server simultaneously. Can u fix that @michaljaz ?
When we send message, we stay on chat prompt
can u fix ?
Urgently ... Else people die because cannot eat
Add priority queue in chunk mesher (chunk.worker.js) and do not generate mesh that isn't in render distance.
Remove vulnerability of xss in chat like "<script>alert('some js code')</script>".
Create menu like in minecraft, with server selecting and showing saved servers list (saved in localStorage or sth like that)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.