{"_id":"minecraft-mca","_rev":"899723","name":"minecraft-mca","description":"minecraft .mca region data file pure js parser","dist-tags":{"latest":"0.6.1"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"time":{"modified":"2024-07-21T23:40:44.000Z","created":"2013-04-04T02:54:18.022Z","0.6.1":"2014-10-11T06:56:46.734Z","0.6.0":"2013-05-22T20:25:20.230Z","0.5.0":"2013-04-22T07:34:05.493Z","0.4.0":"2013-04-18T18:22:11.674Z","0.3.0":"2013-04-12T19:43:32.143Z","0.2.1":"2013-04-12T02:38:05.233Z","0.2.0":"2013-04-11T20:26:16.152Z","0.1.0":"2013-04-04T06:42:25.599Z","0.0.1":"2013-04-04T02:54:18.022Z"},"users":{},"author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"repository":"","versions":{"0.6.1":{"name":"minecraft-mca","version":"0.6.1","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-nbt":"~0.0.3","minecraft-chunk":"~0.3.0"},"devDependencies":{"minecraft-region":"~0.3.0","binary-xhr":"0.0.1","voxel-hello-world":"~0.4.2","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0","browserify":"~2.12.0","beefy":"0.0.11"},"_id":"minecraft-mca@0.6.1","_shasum":"c8fa97e4da2cba104ba5b55de32d562f2659d4ff","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"maxogden","email":"max+DONT+EMAIL+ME@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"c8fa97e4da2cba104ba5b55de32d562f2659d4ff","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.6.1.tgz","integrity":"sha512-U8LVhT+ownq9htPMLLie/P6vdrnY6s/CXgBycLJr227aBD4WG5sOayqDpff3p1+ylSr/HAuYtZ8j8UYU2LKKaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIiBPlR5jD/C1cmvhBAULhxadeofbF6XrbRMMNSE9a6QIgQmWbBFJKYlESoryE2SgGxP8c9kBGiCALumMyzjySsWw="}],"size":156029,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.6.1.tgz"},"directories":{},"publish_time":1413010606734,"_cnpm_publish_time":1413010606734},"0.6.0":{"name":"minecraft-mca","version":"0.6.0","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-nbt":"~0.0.2","minecraft-chunk":"~0.3.0"},"devDependencies":{"minecraft-region":"~0.3.0","binary-xhr":"0.0.1","voxel-hello-world":"~0.4.2","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0","browserify":"~2.12.0","beefy":"0.0.11"},"_id":"minecraft-mca@0.6.0","dist":{"shasum":"73d1aba4563dd6cc3ed1be1fe98d994dd61764b2","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.6.0.tgz","integrity":"sha512-vRYmu/swVzE/+rSNc+DZ63KyidQ/24lzsPpz3CCZeZT8FDdA73OPMmSuRMRscp7RlJ9S0VJamdeg9GKgIC5ayQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICv/7SZpWN5R1uTMv3dLi/9KAuspMTej3ix+pNUPeTmtAiBnLrLpVQDk76MxAv2zGnDWr5PDt8NScz+NRXvuCua7VQ=="}],"size":156057,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.6.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1369254320230,"_cnpm_publish_time":1369254320230},"0.5.0":{"name":"minecraft-mca","version":"0.5.0","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-nbt":"~0.0.2","minecraft-chunk":"~0.3.0"},"devDependencies":{"minecraft-region":"~0.3.0","binary-xhr":"0.0.1","voxel-hello-world":"~0.4.2","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0","browserify":"~2.12.0","beefy":"0.0.11"},"_id":"minecraft-mca@0.5.0","dist":{"shasum":"6beea3aa5140d8c31849dc82eb9ccc2c44248d32","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.5.0.tgz","integrity":"sha512-e6iql9C7g5Zlsv4I2CO0P2GOk3W5SKEQMqMfhNqJha+kVaqLs3zJY5b26cZrO+YVCJ3PpcZ8MosoRHknpgcdWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICeieXQe2cRvPhn7Xl6UUap8GKJomJeYoxAwCmY5aPMAAiEArbnzYVw4ivYrFCsqEvybOwGRqIDUKKModXrZGr9Vjig="}],"size":156061,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.5.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1366616045493,"_cnpm_publish_time":1366616045493},"0.4.0":{"name":"minecraft-mca","version":"0.4.0","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-nbt":"~0.0.2","minecraft-chunk":"~0.1.1"},"devDependencies":{"minecraft-region":"~0.1.3","binary-xhr":"0.0.1","voxel-hello-world":"~0.4.2","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0","browserify":"~2.12.0","beefy":"0.0.11"},"_id":"minecraft-mca@0.4.0","dist":{"shasum":"5adc131bb9ec9a3dde8386cc093b140e9163fac5","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.4.0.tgz","integrity":"sha512-XwN7AqsWW4uYsFioKOOECMvGIQw06rnTyt3Jr1gMnG/h1jpCqBdzaGZ3QKhjMateRxX0wQ8O5WUU8xgE7/mmIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJTVM8rZ1UC4gWl2BC9G/vT8Nw79xZKM6S7TjfMwoB/gIhANcIVxBcOzaV+sJz3FdJO6oyvIs9jDniaHsqWhB0Kr5V"}],"size":2930,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.4.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1366309331674,"_cnpm_publish_time":1366309331674},"0.3.0":{"name":"minecraft-mca","version":"0.3.0","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-nbt":"0.0.2","minecraft-chunk":"0.1.1"},"devDependencies":{"minecraft-region":"0.1.1","binary-xhr":"0.0.1","voxel-hello-world":"~0.4.2","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0","browserify":"~2.12.0","beefy":"0.0.11"},"_id":"minecraft-mca@0.3.0","dist":{"shasum":"f7135d54826e3ff409ffde880e8f2b8419e2ba60","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.3.0.tgz","integrity":"sha512-8WP6Izg/4xtQNb3kSq8WW8YYRSPccUCj//BT4SdfsEoINRaN61AXMm4UuvRiLLo2Br2AilBHMswZcBUO2shYvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErF4OkxPTaLgtv2ZiZQUhu85wiRuHKMdntucWHzlB48AiEAzOxD4mNemhXhiO9ltxRU+nAGW0ygyE2f/EMVfXggrDM="}],"size":2999,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.3.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1365795812143,"_cnpm_publish_time":1365795812143},"0.2.1":{"name":"minecraft-mca","version":"0.2.1","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-blockinfo":"0.0.0","minecraft-nbt":"0.0.2","minecraft-chunk":"0.1.0"},"devDependencies":{"minecraft-region":"0.1.1","binary-xhr":"0.0.1","voxel-hello-world":"~0.3.0","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0","browserify":"~2.12.0","beefy":"0.0.11"},"_id":"minecraft-mca@0.2.1","dist":{"shasum":"c14090b08b755c3404ef7ce4f290147e78b1d237","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.2.1.tgz","integrity":"sha512-znjvsZkaUV102ZlqrtfvgAi4J/ZgJY5jMuEeq4RD61G7Zucm58s9/BLhVjHyYLPaF9UHDy+tBcgJiGaMbRPUHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICytxhV8vABD1EbOrgtLU4OnaZAgE8W6+3QlnSlxwc4VAiBH4sdo0cNWxeClU45OwnUONoSg5loKFaJXsF6Nh4LL1Q=="}],"size":2671,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.2.1.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1365734285233,"_cnpm_publish_time":1365734285233},"0.2.0":{"name":"minecraft-mca","version":"0.2.0","description":"minecraft .mca region data file pure js parser","main":"index.js","scripts":{"start":"beefy demo.js","test":"node test.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-blockinfo":"0.0.0","minecraft-nbt":"0.0.2","minecraft-chunk":"0.1.0"},"devDependencies":{"minecraft-region":"0.1.0","binary-xhr":"0.0.1","voxel-hello-world":"~0.3.0","voxel-engine":"~0.16.3","voxel-fly":"~0.1.0"},"_id":"minecraft-mca@0.2.0","dist":{"shasum":"ad2eab29e08d311502e414cea7fd32b06540e6f0","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.2.0.tgz","integrity":"sha512-81qiRfMKL7jsgVhAZs2cj4M+w3AJWcXecnMqXo4ipB70BPEf1n2Ge4WRcKOZZqrlqNVHb2oOifTvkyQKGYaz3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfkT2giVQaFarq1fAxcmSwtpd6H/VM4cUFv2jXqD3OHgIhAIC6igtY74TxAzSA3BQSyVn1+6aNFJMvgt9sH5LR3Qsc"}],"size":4576901,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.2.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1365711976152,"_cnpm_publish_time":1365711976152},"0.1.0":{"name":"minecraft-mca","version":"0.1.0","description":"minecraft .mca region data file pure js parser","main":"inflate.min.js","scripts":{"start":"beefy demo.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-blockinfo":"0.0.0","minecraft-nbt":"0.0.2","minecraft-chunk":"0.1.0"},"devDependencies":{"minecraft-region":"0.0.2","binary-xhr":"0.0.1","voxel-hello-world":"~0.3.0","voxel-engine":"~0.15.0","voxel-fly":"~0.1.0"},"_id":"minecraft-mca@0.1.0","dist":{"shasum":"f23cfbe2f4b07e9d873fdeec26d861f2541aafbd","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.1.0.tgz","integrity":"sha512-QdzQIkjHQxgC3IZc8l5SQmWtAALhR/VZoeHp+v9EhwjIQk/GlAQ0AJiwjnP3tIY7tsvOg1iHrpLiEmguvaTCMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJspURJ+juS3HTk6aixKjm5JkVruO4c6uhb/ow431bPAIhAKRiFlmkpx3WSubi3944+NkAhoHJG+pIeg7S27SSjd0H"}],"size":2719109,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1365057745599,"_cnpm_publish_time":1365057745599},"0.0.1":{"name":"minecraft-mca","version":"0.0.1","description":"minecraft .mca region data file pure js parser","main":"inflate.min.js","scripts":{"start":"beefy demo.js"},"repository":"","author":{"name":"Jason Livesay","email":"ithkuil@gmail.com"},"license":"BSD","dependencies":{"minecraft-blockinfo":"0.0.0","minecraft-nbt":"0.0.2","minecraft-chunk":"0.0.1"},"devDependencies":{"minecraft-region":"0.0.2","binary-xhr":"0.0.1"},"_id":"minecraft-mca@0.0.1","dist":{"shasum":"7e2d6e337d0cf68594c117b7941ad24fd56e5e36","tarball":"http://registry-npm.ywwl.com/minecraft-mca/download/minecraft-mca-0.0.1.tgz","integrity":"sha512-hUi/wgdHjStJG9aQG5+HSv2cuSSGLiEuheVjNLmB5aMIwS8c3BNNpVhULkNAEQ7M8pqR6k5mJIlRJgfvHFUL7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKt99fOB7ltz6tXR/VJhcnGUmiO4wGBHr/xXdJH+LOFAiBqltbrFwmQcD/1wrP1f+lUvO7Un6EGHo1T1TJONLWyWg=="}],"size":2708841,"noattachment":false,"key":"/minecraft-mca/-/minecraft-mca-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"directories":{},"publish_time":1365044058022,"_cnpm_publish_time":1365044058022}},"readme":"# minecraft-mca\n\nminecraft .mca region data file pure js parser\n\nextracted from code originally written by @ithkuil for [mcchunkloader](https://github.com/ithkuil/mcchunkloader), turned into a module and now maintained by @maxogden\n\nminecraft is property of Mojang AB\n\n```javascript\n// example using voxel.js\nvar readMCA = require('minecraft-mca')\nvar mcRegion = require('minecraft-region')\nvar region = mcRegion(binaryRegionData)\nvar opts = {ymin: 0, onVoxel: function(x, y, z, type, offsetX, offsetZ) {\n  game.setBlock([(offsetX * 16) + x, y, (offsetZ * 16) + z], type)\n}}\nvar mca = readMCA(region, opts)\nmca.loadAll() // loads all 1024 chunks in this region\nmca.loadNearby(0, 0, 1) // loads 1 in each direction\nmca.loadChunk(4, 4) // loads single chunk\n```\n\nthis module works with [minecraft-chunk](http://github.com/maxogden/minecraft-chunk) and is used by [minecraft-mca](http://github.com/maxogden/minecraft-mca)\n\ndesigned for use with [browserify](http://browserify.org)\n\n# license\n\nBSD","_attachments":{},"license":"BSD"}