RaspberryPi?
#10
Each chunk needs:
- 1 byte per each block to define the block type (dirt / grass / stone etc.)
- 0.5 byte per each block to define metadata (wool color, torch direction, planted sapling type)
- 0.5 byte per each block for skylight (how brightly lit the block is by the daylight)
- 0.5 byte per each block for blocklight (how brightly lit the block is by torches, lava etc. - at night)
This means 2.5 bytes per block. A chunk has 16 * 16 * 256 blocks. Hence the total size.
Reply
Thanks given by:


Messages In This Thread
RaspberryPi? - by tbar - 01-20-2012, 02:09 AM
RE: RaspberryPi? - by FakeTruth - 01-20-2012, 02:43 AM
RE: RaspberryPi? - by tbar - 01-23-2012, 05:08 PM
RE: RaspberryPi? - by Lapayo - 01-23-2012, 12:18 AM
RE: RaspberryPi? - by mtilden - 01-23-2012, 05:57 AM
RE: RaspberryPi? - by FakeTruth - 01-23-2012, 10:25 PM
RE: RaspberryPi? - by tbar - 02-10-2012, 02:40 AM
RE: RaspberryPi? - by xoft - 03-13-2012, 06:01 AM
RE: RaspberryPi? - by tbar - 03-13-2012, 04:28 PM
RE: RaspberryPi? - by xoft - 03-13-2012, 05:56 PM
RE: RaspberryPi? - by xoft - 03-25-2012, 07:48 PM
RE: RaspberryPi? - by xoft - 03-25-2012, 11:19 PM
RE: RaspberryPi? - by tbar - 03-26-2012, 04:28 PM
RE: RaspberryPi? - by xoft - 03-30-2012, 01:23 AM
RE: RaspberryPi? - by tbar - 03-30-2012, 04:08 AM



Users browsing this thread: 6 Guest(s)