2025.1.24:
Currently, only the visible faces are rendered, and the faces blocked by blocks are skipped in rendering.
The code condition was written incorrectly the first time; it checks if the front face is in contact with air, then adds a back face.
This resulted in this appearance.
After fixing it, it looks more normal.
However, there is still a problem that I don't know how to handle. After I used chunks to piece together the meshes, it looks like this from below. I don't know how the edges of each mesh were culled on these four sides:
Currently, I plan to investigate whether the culling logic needs to be modified.
Also, if the Y-axis height for generating natural terrain is set too high, there will be some strange gaps, such as the various holes in the image below: Y = 320.
This situation becomes more pronounced as the Y-axis height increases; if set to 20480, only strips of blocks remain, and the terrain is no longer visible.
After fixing it, I can try applying the grass block texture to see what my world looks like with only grass blocks.
Additionally, I need to implement destruction and placement functions, and after all of the above are achieved, I plan to add multiplayer functionality.