Skip to content

Commit 24ab07f

Browse files
committed
The whole thing is different for 16+ block types!
1 parent 4f295f3 commit 24ab07f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

includes/mc-schematic/axiom-blueprint-v1/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ mc_schematic::axiom_blueprint_v1::main file @ 0x00;
3636
- `compound`
3737
- `compound[] BlockRegion`
3838
- `compound BlockStates`
39-
- `long[] data`: (list length appears to be always 256). **Guess:** Each entry is a sequence of 16 blocks (`long` integers are 8 bytes in size), where each block is a 4-bit integer that points to a block state in palette. That means this could hold 4096 blocks, or an entire cubic chunk (16x16x16 blocks).
39+
- `long[] data`: (list length appears to be always 256).
40+
- **Under 16 block types:** Each entry is a sequence of 16 blocks (`long` integers are 8 bytes in size), where each block is a 4-bit integer that points to a block state in palette. That means this could hold 4096 blocks, or an entire cubic chunk (16x16x16 blocks).
41+
- **More than 16 block types:** I'm sorry but guessing the structure is too much work to do. If you are interested, consider looking at [test_struct.nbt.gz](./test_struct.nbt.gz) in your NBT viewer + ImHex.
4042
- `compound[] palette`: A list of block states in a form of palette.
4143
- `string Name`: Namespaced IDs (eg: `minecraft:diamond_block` or `my_mod:tiny_potato`).
4244
- `//`: It is likely that each entry in `palette` is a block state, so there could be something else other than `Name`, like `Rotation` for example.
38.2 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)