Storing GBs of HIDDEN data inside innocent MINECRAFT chests!
This is my 1st ever post!!
So this is a project I was working on which uses maps to store any binary data in noise maps,
A map is **128x128 pixels = 16384 Bytes or \~16kb**
How is it stored?
Maps > Shulkers > Doublechest
Well it turns out using this method, just this much of chest can hold 15GB of data easily.
Interesting results:
* Took 5 minute 26 seconds to decode 10 GB
* Took 2 minute 36 seconds to encode 10 GB and write inside minecraft
Inspiration taken from: **BK Binary (YouTube)**
**In one of his video,** **he demonstrated this concept but it was kinda inefficient, so I thought of making it through maps! (Saves so much block space and chests can be called Storage Drives on Server Racks XD)**
So this is a project I was working on which uses maps to store any binary data in noise maps,
A map is **128x128 pixels = 16384 Bytes or \~16kb**
How is it stored?
Maps > Shulkers > Doublechest
Well it turns out using this method, just this much of chest can hold 15GB of data easily.
Interesting results:
* Took 5 minute 26 seconds to decode 10 GB
* Took 2 minute 36 seconds to encode 10 GB and write inside minecraft
Inspiration taken from: **BK Binary (YouTube)**
**In one of his video,** **he demonstrated this concept but it was kinda inefficient, so I thought of making it through maps! (Saves so much block space and chests can be called Storage Drives on Server Racks XD)**
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
Usually people use music disks to store data in minecraft. It's not as efficient as maps, but other than maps, it's actually readable ingame.
Admittedly tho maps do have a far greater data density, storing only 4bits per disk, not 16kb.
On a side note, I thought it was funny that your title is in Youtube Clickbait Format.
A Vanilla maps is 128x128 pixel stored as a byte array in NBT, so it's \~16 KB per map regardless of how many colors are visually recognizable.
or something similar ?
People are just ***so*** fucking desperate for that engagement click
but otherwise i think this posts title was funny, i mean it got you to look, right? and just like what youtube titles are for, you did engage 😭
https://youtu.be/JcJSW7Rprio?si=NLmxV3zYmM6UanRM
Well initially I came up with books idea too! but it was really inefficient
I can only store 1MB of data in each chunks, at first I tried writing everything in many books, but it crossed the (0,255) bytes limit, and turns out, I can't do that as one chunk can hold 1mb of data only
I could've used NBT data to store technically theoretically however much data I want but that felt like "cheating".
You may now ask, if it can't hold more than 1MB of data in each chunk, how is current implementation able to do it?
Well maps are actually stored as `.dat` files in "data" folder inside World File, so they are not affected by this 1MB per chunk limit!
Well you see, Minecraft doesn't store color and brightness as separate variables, it merges them into one..
my code already using the brightness technically, if my script writes byte 112, the game reads it as 'Dark Red'. If I write 115, it reads it a 'Bright Red'. As far as I know, with level 0 maps (128x128) I am achieving most efficient storing entropically possibe
27 x 54 = 14,958 Maps per chest, but if I do include bundles, it can be
64 x 27 x 54 = 93,312 Maps per chest! That's really good suggestion thanks!
Maybe a bug, are there any other examples of non stackables not taking up the entire bundle storage?
Like i stored osu.AppImage(it's a rhythm game) it took 10467 maps or smth (I don't really remember), it stored them in pieces with each map_123.dat