prismarinejs / prismarine-web-client Goto Github PK
View Code? Open in Web Editor NEWMinecraft web client running in your browser
Home Page: https://prismarinejs.github.io/prismarine-web-client/
License: MIT License
Minecraft web client running in your browser
Home Page: https://prismarinejs.github.io/prismarine-web-client/
License: MIT License
the size depends on the display
Someone can get the inchat variable from the chat file and export that properly and then can make it so the player doesn't move when you type
for example puppeteer + auto connecting to a server (similar to pviewer tests)
just make the css element slowly decrease in height from the top downward until it disappears
Add sounds (shouldn't be that difficult considering mineflayer has an event for hard coded sounds too)
Includes the player inventory, chests, furnaces, crafting, and other “item containers”
It looks like it's buggy when you suddenly stop being able to move. If it takes me 5 seconds to realise that no, my code isn't bugged, it just disconnected, we can expect a normal user to think that too.
This is especially important as we are about to implement auto-update for the demo, which will make it frequently restart.
a lot of the stuff in the roadmap has already been merged in
This is probably easy to do and yet it will feel much better for the user.
A white page feels like "did it crash" whereas a loading screen is nice.
Using modal input for this is not good.
Would be great to have a minecraft like menu for this
Add support for night.
Attacking players
Needed for autodeploy.
People are complaining that it's way too sensitive
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'assets/Mojangles.ttf'
'assets/mojangles.ttf'
Being able to share a mineflayer experience as a notebook
similar to dev console repl + pviewer, but with something that would look like a jupyter notebook
might be useful to have single player first to be able to have a reproductible env
After doing some profiling, I've seen that the main thread spend too much time in the network. This is what is causing the drop of fps and stuttering.
This is best shown when loading chunks but even sending the position packet every tick is affecting the fps.
The only way to fix it is to put the websocket connection in a worker thread and the easiest way to do it is to put the bot in it.
This will require a big refactor and a change of project design because the bot functions would have to be accessed through messages.
This should be done ASAP (because of the project design change).
Alternative design is to do like prismarine-viewer or web-minecraft and have the bot on the server side, but that raise the same design issues (communicating with server instead of the worker) and is less portable, so I think the worker is the best solution.
Have some buttons in the ui to:
Would be a cool demo for mineflayer and interesting as an user
imo this would look like a keyboard map in localStorage and only storing non-ordinary ones
Sometimes, people get disconnected after 45s
affect me, u9g and awesomestgamer
changing pseudo might help ; refreshing cache might help
cause mostly unknown
Apparently it doesn't work.
it takes a minute, no reason for that
put html code in an artifact on PRs will allow testing before merging
A client side bungee ? Related to the idea of using minecraft like internet (you click a link / you go through a portal and you are on a different server)
Everything already works on mobile except for controls.
Would be great if that could work too
https://github.com/PrismarineJS/prismarine-viewer/tree/master/examples/electron
not sure how/if to make web and electron cohabitate, but would be nice for users
Make sure it works, it seems to be buggy atm
I shouldnt be able to select any text lol, the blue looks terrible
at least have the same animation as vanilla
currently from an user perspective, it's not clear whether it works
Crashes when running in safari.
[Error] Unhandled Promise Rejection: TypeError: document.getElementById("loading-text").requestFullscreen is not a function. (In 'document.getElementById("loading-text").requestFullscreen()', 'document.getElementById("loading-text").requestFullscreen' is undefined)
using https://github.com/vercel/pkg or similar
prismarine-web-client is too long and boring.
Characteristics of the new name:
What ideas do you have?
To make mineflayer users able to control their bot for testing
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.