wiki:terrain/storage

Version 1 (modified by Jonathan Neufeld, 4 years ago) ( diff )

Page introduction

Storage File Format

I see little reason to deviate too much from Notch's region file format. Each region file would persist a logical unit of world of a fixed size (e.g. 64 x 64 x 64 blocks). Each file contains several channels:

  • Blocks
  • Lighting
  • Graphs
  • Entities
  • Items

Blocks

The block channel consists of an array of ordinals, each identifies the block-type as well as its meta-configuration

Lighting

The lighting channel indicates light levels and light colour

Graphs

Graphs are arbitrary networks of information that can span arbitrary distances that typically relate to specific types of blocks, one such example of a graph is the steam engine assembly in Mad Martian Mod.

Entities

All movable objects and creatures other than players

Items

Items that are left lying around on the ground, unlike Minecraft, Revenant will treat these differently and not lump them into the same category as entities.

Note: See TracWiki for help on using the wiki.