K
K
kacang2015-05-11 08:41:42
Node.js
kacang, 2015-05-11 08:41:42

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

5 answer(s)
M
marataziat, 2018-05-30
@marataziat

sqlite as GUI use sqlitebrowser

A
Abcdefgk, 2018-05-30
@Abcdefgk

Free GUI for MongoDB enthusiasts! -->
(although I never used it myself, because I live with Windows7-32bit)

M
McBernar, 2018-05-30
@McBernar

MySQL will work just fine. There is also a driver for the node.

O
Optimus, 2015-05-11
Pyan @marrk2

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 ...

P
Puma Thailand, 2015-05-11
@opium

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 question

Ask a Question

731 491 924 answers to any question