Not sure if this topic is appropriate here (as the project is not finished and never intended to be, it's just a demo).

But anyway, a simple demo of how Minecraft/Infiminer mechanics may be done in Pascal / Castle Game Engine.

MIT-licensed source code: https://gitlab.com/EugeneLoza/CastleCraft

Video: https://www.youtube.com/watch?v=DrMW1d4U1t0