Share your repls and programming experiences

← Back to all posts
JavaCraft V2.0!!!! - Minecraft clone UPDATED
plscodeinjava

Hello everyone!
I'm back after not posting for like a couple months, I've had some issues with repl.it being blocked and not being able to sign in, but I'm back!
Do you remember the original JavaCraft?
If not, here is the link:
JavaCraft V1.0
In that post, I said that at some point, I'd make other additions to it. Well, it's finally here!!!! The main concern I saw from the comments was that the world isn't big enough, so that's what I fixed in V2.0. There are now three screens, with you spawning in the middle screen. Once you go past the right or left border of the middle screen, it will put you into one of the other screens! I'll add more screens soon enough, and you can expect V3.0 to come out soon!
Anyways, have fun and upvote if you liked it!

You HAVE to open this in a new tab, or at least make the run window bigger.

Voters
FrancisPan
abhayminecraft
codingjlu
TimLin5
angrydoge
FallenAngel6
Dunce
ZineEddine1
Whippingdot
LegendaryWolf
Comments
hotnewtop
Whippingdot

nIcE gAmE yOu gOt tHeRe bUdDy

plscodeinjava

@Whippingdot
woww
did you just dig the entire screen up???
lolol

Whippingdot
Dunce

Very cool! it would be nice if you could move with A and D, or the arrow keys, instead of with R and L though.

plscodeinjava

@Dunce
Thanks for the feedback!
I'm pretty sure you can't test arrow key presses in Java, but I'm definitely able to change it to A and D

Dunce

@amaddentcsec Ok, cool!

codingjlu

YESS! FINALLY SOMEONE THAT USES JAVA!!!!!!!!!!!!!!

plscodeinjava

@codingjlu
YOOOOOOOO THANKS
JAVA IS THE BEST LANGUAGE BY FAR

codingjlu

@amaddentcsec YES IT IS!!!!!!!!!!!!!!!!!!!!!! (although I just realized that Lua compiles crazy fast) We should code something!

plscodeinjava

@codingjlu
Yo that would be so fun! What would you want to make?

codingjlu

@amaddentcsec Idk... a chatbot?

plscodeinjava

@codingjlu
Ooh sure! have you made one before? i have, you might want to check it out

codingjlu

@amaddentcsec Cool! I made some with different techniques... I would love to see yours!

plscodeinjava

@codingjlu
mine is here: https://repl.it/@amaddentcsec/Chatbot
can you link me to yours?

codingjlu

@amaddentcsec Nice! This one isn't the best but it's finished: https://replit.com/@codingjlu/HiBot-10?v=1

plscodeinjava

@codingjlu
Cool!
How should we make ours?

codingjlu

@amaddentcsec Idk, maybe use some AI to capture the intent and context and create a response...

plscodeinjava

@codingjlu
that's pretty difficult though, i was trying to do that and it never really panned out

codingjlu

@amaddentcsec lol okay do it's easier with someone else ig... wanna write a programming language?

plscodeinjava

@codingjlu
sure! have you made one before?
here is mine sorta a wip: https://repl.it/@amaddentcsec/Oneline-Lang

codingjlu

@amaddentcsec Nice, no I haven't... but I really want to

plscodeinjava

@codingjlu
Ok! Do you want to start now?

codingjlu

@amaddentcsec maybe in like 30 mins? I'll share my ideas with you :)

plscodeinjava

@codingjlu
ok! I'm working on jc V3.0 rn and currently i'm having trouble with a for loop stopping execution for no reason, so i've got my hands full as well lol

codingjlu

@amaddentcsec ok I'm back

plscodeinjava

@codingjlu
ok! invite me to a repl

codingjlu

@amaddentcsec k wait do you want to use a cc? (parser/compiler compiler)

plscodeinjava

@codingjlu
i mean i have no idea what that is

codingjlu

@amaddentcsec It's like a library for building PLs

plscodeinjava

@codingjlu
i never used one in my design..
umm would it make programming the pl easier?

codingjlu
codingjlu

@amaddentcsec I think the most popular ones are Javacc, Antlr, and Gold.

plscodeinjava

@codingjlu
Ok! We can use those if you want
i gtg now, but be back in an hour!

codingjlu
codingjlu
plscodeinjava

@codingjlu
i'm back

codingjlu
plscodeinjava
codingjlu

@amaddentcsec The problem - I can't figure out how to install a parser on repl...

plscodeinjava

@codingjlu
Oh...
I mean we can just code without one right?

codingjlu

@amaddentcsec Yeah sure! Maybe use like buffered reader or something like that to read the file?

plscodeinjava
codingjlu

@amaddentcsec k I'll invite you to a repl.

codingjlu

@amaddentcsec Wait somehow my invite button disappeared...

plscodeinjava

@codingjlu
uhhh idk what happened

codingjlu

@amaddentcsec I invited you to a team.

codingjlu

@amaddentcsec okay I invited you to a team

plscodeinjava

how do i see the invite? @codingjlu

codingjlu

@amaddentcsec Possibly in your email or notifs?

plscodeinjava

dont see it in either @codingjlu

codingjlu

@amaddentcsec Okay, I don't want to post the invite link to everyone, but that's probably my only choice (I guess I can delete ppl later if they join), so here it is: [redacted] :)

plscodeinjava

ok i joined! you can edit your comment now @codingjlu

codingjlu
Brendan23

@amaddentcsec maybe make it so that you just press a button and it goes. like: arrow keys to move, q to break left block, w to break right block, etc.

plscodeinjava

@Brendan23
I'm pretty sure you can only do that in python, I don't think there is any getkey function for java

Brendan23

@amaddentcsec oh. I mostly use python so I didn't know. lol.

BananaJellyfish

This is awesome!

plscodeinjava
JacobMcPherson1

upvote++

plscodeinjava

@JacobMcPherson1
Yooooo
thanks lol

JacobMcPherson1
Beads

(O O)/ SO COOL!
D

plscodeinjava

@Beads
Thanks!!! Since this project is getting a lot of support i'm probably going to start work on V3 veryyyy soon which is gonna have a lot of new stuff!!!

JackFranzel

if repltopic == minecraft:
upvote += 1

plscodeinjava

@JackFranzel
uhhh
according to my statics you have not upvoted.
therefore, your code must have an error

JackFranzel

maybe it lagged idk @amaddentcsec

plscodeinjava

@JackFranzel
Indeed! It seems the upvote += 1 code has executed perfectly!
Well done!
and also thanks lol

JackFranzel

:P

BillNyeScience

upvote += 1

plscodeinjava

@BiIINye
Thanks!!!

TheGooose

I have never seen a game like this that is in the console instead of the actual game window!

plscodeinjava

@BLAKEMETZ
Yep! It's pretty rare, and I know that for you to get a lot of upvotes you needed to be original, so I decided that my specialty would be making overcomplicated console games out of Java!
This is probably my crowning glory as of this moment lol

TheGooose

@amaddentcsec Well i certainly cant make anything like this lol.

plscodeinjava

@BLAKEMETZ
Don't worry its pretty simple once you figure out the basics

TheGooose
tussiez

It's a little hard to move around, but this is pretty cool!

plscodeinjava

@tussiez
Thanks, I know it's pretty slow to move around but i don't think there's any other way to do it...

FrancisPan

NOICE

plscodeinjava

@FrancisPan agreeeeeeeed