r/GraphicsProgramming • u/Inner_Philosophy936 • Jun 08 '26
Made Minecraft in the Terminal (only java, no extra libs)
I created a version of Minecraft that runs entirely in command in the terminal.
The entire project is entirely contained in one file, with over 1500 lines of code.
Made with java, no extra libraries.
Supports textures, randomly generated trees, water, and terrain, and block placing/mining.
This is inspired by the Minecraft.c repo.
Github: https://github.com/DaRealNeonCoder/MinecraftInTerminal
21
u/semantic-Painter Jun 08 '26
Wow, this looks amazing!
Thank you for sharing
I'm quite astounded, haha
13
u/strange-the-quark Jun 08 '26
That's amazing. Don't get me wrong, but it's simultaneously kinda ugly AND a thing of absolute beauty.
4
u/sunmaybo Jun 09 '26
it reminds me of early minecraft clones from 2010-2011, I have a special love for it. They're weird and primitive, but that's part of their charm
3
4
1
u/SirRosticciano Jun 09 '26
This looks amazing! I have noticed that pixels in the background look a bit noisy, have you thought about adding mipmap levels to your textures? I think they could help make the image way more readable, although the small resolution surely is a bottleneck in itself.
3
u/Inner_Philosophy936 Jun 09 '26
I haven't thought adding mipmap levels yet (tbh I never messed with it, usually I just add some form of anti aliasing).
gonna add it to the list of things I wanna mess with though.
1
u/Jay_3PO Jun 11 '26
Use Claude or Kimi
Claude fable did An amazing single shit prompt and even added better SFX
2
u/Inner_Philosophy936 Jun 11 '26
Well first off I didn't use ai.
second off what do you mean better SFX? I dont have ANY SFX?
1
u/wiseneddustmite Jun 13 '26
how is the entire source file smaller than writing a program to show a triangle using vulkan
1
u/Inner_Philosophy936 Jun 14 '26
Imao, brendan galea had like 12 different files before he started rendering a cube.
Vulkan is powerful but there is a lot of boilerplate.
2
1
1
1
1
1
Jun 09 '26
[removed] — view removed comment
2
Jun 10 '26
[removed] — view removed comment
2
u/Inner_Philosophy936 Jun 10 '26
oh dang wasn't actually expecting you to fully play it lol.
yeah no inventory doesn't exist yet, controls should have been on the bottom of the screen.I believe you can change the resolution of the command prompt with either ctrl + or ctrl -.
thanks for checking it out!
0



12
u/HTFCirno2000 Jun 08 '26
Absolutely wild that this is using raytracing instead of doing a triangle rasterizer.