Minecraft on Replit
need I say more?
DISCLAIMER: It's a pain to log in and it's essentially unplayable due to the controls not working, but it actually runs ok on minimum settings. Hopefully future updates to the gfx here will allow it to work properly :))
EDIT: Yes, I know that shift doesn't work, and that you can't copy and paste your email in. Maybe try forking?
EDIT EDIT: it's for servers now cuz i accidentally redid the entire thing without forking
the original is here: https://repl.it/@SPQR/Minecraft
The copy-paste file doesn't work. I have tried typing the last makefile line in but it still doesn't do anything.
I can right click and click the paste button, but nothing appears.
I'd love to play this, but I'm not able to use the @ sign for my login. Is it possible to fix this?
@ETHANSIAO paste it into logins.txt, then paste it into the email field using right click (ctrl+v doesn't work) You'll also need to do it for any capital letters. If you want to have multiple things pasted, copy and paste the last line of the makefile into the replit shell (accessible using f1> open shell, or right click edit window > open shell) any time you update logins.txt
Wanted to try this out... but is there any way to have the logins file be replaced with a .env file? I don't really want all of replit to know my minecraft login, and I can't modify it because I don't really know how you're doing the login.
@amasad Well, the main issue i noticed is a discrepancy with controls. I noticed that the issue I'm experiencing somewhat reminds me of an issue I would see if using a touchscreen. No matter how I move the mouse, the game seems to interpret it as moving towards the bottom right corner of the screen. The only cause for that that I could think of would be that the frontend sends mouse position to X incorrectly, i.e. instead of X seeing that the mouse moved in a certain direction, it only sees that the mouse sort of teleported somewhere that i would assume is down and to the right of the crosshair. Also, The keyboard input is working very strangely in that Minecraft only seems to recognize about 1 of every 10 key presses (For comparison, when I ran DOOM, it recognized pretty much all of them.) I also noticed that X (or at least Minecraft) seems to think that Right Alt is being constantly held down (i noticed this when i tried to rebind one of the controls to the L key and it instead bound to Right Alt.) Other than that, there's really just the QOL improvements of easier interaction with the clipboard in the X window, and/or somehow getting the SHIFT key to work (I can't type caps or symbols, hence why i need copy and paste)
I dont want to seem like i'm ragging on replit though, because frankly, I didn't even expect this to work at all, so just being able to get it to run is pretty awesome. :)
@duck132912 I can if you'd like, but don't get the idea that you'll be playing Minecraft on repl.it anytime soon. Due to the interface between the browser and repl.it servers, the game is entirely unplayable (the mouse doesn't act like it should, it's like playing PC minecraft with a touchscreen if you've ever done that.)
But I'm a nice guy if you really want to see it for yourself i can do it. :)
the link to the original is a 404, here the original:
It is missing
export DISPLAY=:0.0 so here is a fixed one
It stopped working today