Answer the question
In order to leave comments, you need to log in
Minecraft level renderer on HTML5/JS?
I want to write a Minecraft level renderer in HTML5/JS, but I don't know where to start. Captain Obvious says that first you need to learn how to parse the level itself. The next step is to set up rendering. But I can not find a sensible description of the level structure (now the format is called Anvil, in my opinion). Next, I planned to use Three.js for the drawing itself. I wanted advice about organizing data from the level for the best absorption of them in three.js.
As a result, two questions:
1. Where can I find a description of the structure of the saved Minecraft level?
2. What is the best way to store/organize data from 1 for consumption in three.js?
Answer the question
In order to leave comments, you need to log in
Free GUI for MongoDB enthusiasts! -->
(although I never used it myself, because I live with Windows7-32bit)
There maps are 11 million cubes by 11 million cubes by 60 in height, even if you make 1000x1000, then this is doubtful on js. In addition, Java is there - it does not keep everything in memory, but only loads the area where the player is located. In general, the browser will simply hang from so many objects ...
A description of the format, in general, is on gamepedia ,
I also recommend that you familiarize yourself with map viewers / editors,
many have an open source list
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question