

Orientation 1 rotates 90° clock-wise, 2 rotates 180° clock-wise, 3 rotates 270° clock-wise. +x direction), corner looks like ┐, and tjunction looks like T. When orientation is zero, all gates and wire points to the east (i.e. I figure out one of the parameters is its orientation. Instead of parse whole database, I only parse the mesecons-related blocks with this query: SELECT pos, data FROM blocks WHERE instr ( data, "mesecons" ) > 0 Īnd the lamp is in (1, 2, 1938), which looks like:Įach node has two parameters, after comparing to the rendered result in the game. There's a lot of blocks only contains air or ignore nodes. Just follow its document to write a parser. Pos field is a 36-bits compressed integer contains 3 12-bits integers.ĭata field contains some metadata of the block and a zlib compressed array about each nodes. And 16x16x16 nodes is grouped into one block (i.e. a basic cube in the game) is called a "node". The file format is well documented in here. schema CREATE TABLE `blocks ` ( `pos ` INT PRIMARY KEY, ` data ` BLOB ) Open it with sqlite3, and there's only one table inside. Dump all mesecons blocks' type, orientation, and position.The task is a Minetest (Something like Minecraft) map, and it looks like this:Ī HUUUUUUUUUUUUGE redstone circuit. Non-standard flag format (enter bits as 0 and 1). I've stumbled upon this weird minetest map, can you make sense out of it?
