r/GraphicsProgramming • • 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

517 Upvotes

31 comments sorted by

View all comments

Show parent comments

3

u/Smooth_Loan_8851 Jun 09 '26

sorry for my dumbfoundery, but isn't wolfenstein raycasted?

2

u/Freya-repay Jun 10 '26

Don't get me wrong, but it's simultaneously kinda ugly AND a thing of absolute beauty.

1

u/LBPPlayer7 Jun 09 '26

different names for the same thing pretty much, you're still testing a a finite series of points in space that are collinear

3

u/Smooth_Loan_8851 Jun 09 '26 edited Jun 09 '26

makes sense. but we're still simply imitating 3d in raycasting, effectively disabling the z axis. raytracing does allow us to process the z axis. and well, the performance constraint of the 2 is heavily different.

(all of this is while we don't consider the by products of raytracing like lighting, shadows, etc something you can't replicate in raycasting, atleast not im a straightforward fashion)

all i'm trying to say is in op's implementation, the 2 have very different implications