Differences
This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
prefabs [2015/03/14 21:03] chris created |
prefabs [2015/03/14 21:03] chris [V1] |
||
---|---|---|---|
Line 14: | Line 14: | ||
| Magic | char | n | The characters for the magic. Should always be "PREFAB" | | | Magic | char | n | The characters for the magic. Should always be "PREFAB" | | ||
| Version | byte | 1 | The version number. Currently 0 | | | Version | byte | 1 | The version number. Currently 0 | | ||
- | | Width | signed int32 | 4 || | + | | Width | signed int32 | 4 | | |
- | | Length | signed int32 | 4 || | + | | Length | signed int32 | 4 | | |
- | | Height | signed int32 | 4 || | + | | Height | signed int32 | 4 | | |
- | | CenterX | signed int32 | 4 || | + | | CenterX | signed int32 | 4 | | |
- | | CenterY | signed int32 | 4 || | + | | CenterY | signed int32 | 4 | | |
- | | CenterZ | signed int 32 | 4 || | + | | CenterZ | signed int 32 | 4 | | |
| Blocks[] | ushort array | 2 * width * length * height | The array of blocks. Coordinate determined by: z*width*length + y*width + x | | | Blocks[] | ushort array | 2 * width * length * height | The array of blocks. Coordinate determined by: z*width*length + y*width + x | | ||