I want to work in 3D?

I would like to make something like this

It is made using Pure Java… I would like to do this in both Pure Java and Open Gl

I have worked in Open Gl 3+ before

Here is stuff i have made

The things I struggle with is collision, raycasting and mainly making gameplay for my game

So how and where do i start?