From effe9647ccd959af7c7c142f8779de2cb592c6e1 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 7 Mar 2012 22:10:36 +0000 Subject: Added NBT example dumps for reference git-svn-id: http://mc-server.googlecode.com/svn/trunk@386 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- nbt examples/single chunk NBT data.txt | 71 +++++++++++++++++++++ nbt examples/tile entities.txt | 109 +++++++++++++++++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 nbt examples/single chunk NBT data.txt create mode 100644 nbt examples/tile entities.txt diff --git a/nbt examples/single chunk NBT data.txt b/nbt examples/single chunk NBT data.txt new file mode 100644 index 000000000..b0953c08a --- /dev/null +++ b/nbt examples/single chunk NBT data.txt @@ -0,0 +1,71 @@ +TAG_Compound(""): 1 items +{ + TAG_Compound("Level"): 10 items + { + TAG_List("TileTicks"): 0 items of type 1 + { + } + TAG_List("Entities"): 0 items of type 1 + { + } + TAG_ByteArray("Biomes"): 256 bytes + TAG_Long("LastUpdate"): 1041959 + TAG_Int("xPos"): 0 + TAG_Int("zPos"): 0 + TAG_List("TileEntities"): 0 items of type 1 + { + } + TAG_Byte("TerrainPopulated"): 1 + TAG_List("Sections"): 6 items of type 10 + { + TAG_Compound(""): 5 items + { + TAG_ByteArray("Data"): 2048 bytes + TAG_ByteArray("SkyLight"): 2048 bytes + TAG_ByteArray("BlockLight"): 2048 bytes + TAG_Byte("Y"): 0 + TAG_ByteArray("Blocks"): 4096 bytes + } + TAG_Compound(""): 5 items + { + TAG_ByteArray("Data"): 2048 bytes + TAG_ByteArray("SkyLight"): 2048 bytes + TAG_ByteArray("BlockLight"): 2048 bytes + TAG_Byte("Y"): 1 + TAG_ByteArray("Blocks"): 4096 bytes + } + TAG_Compound(""): 5 items + { + TAG_ByteArray("Data"): 2048 bytes + TAG_ByteArray("SkyLight"): 2048 bytes + TAG_ByteArray("BlockLight"): 2048 bytes + TAG_Byte("Y"): 2 + TAG_ByteArray("Blocks"): 4096 bytes + } + TAG_Compound(""): 5 items + { + TAG_ByteArray("Data"): 2048 bytes + TAG_ByteArray("SkyLight"): 2048 bytes + TAG_ByteArray("BlockLight"): 2048 bytes + TAG_Byte("Y"): 3 + TAG_ByteArray("Blocks"): 4096 bytes + } + TAG_Compound(""): 5 items + { + TAG_ByteArray("Data"): 2048 bytes + TAG_ByteArray("SkyLight"): 2048 bytes + TAG_ByteArray("BlockLight"): 2048 bytes + TAG_Byte("Y"): 4 + TAG_ByteArray("Blocks"): 4096 bytes + } + TAG_Compound(""): 5 items + { + TAG_ByteArray("Data"): 2048 bytes + TAG_ByteArray("SkyLight"): 2048 bytes + TAG_ByteArray("BlockLight"): 2048 bytes + TAG_Byte("Y"): 5 + TAG_ByteArray("Blocks"): 4096 bytes + } + } + } +} diff --git a/nbt examples/tile entities.txt b/nbt examples/tile entities.txt new file mode 100644 index 000000000..5d6bf7c20 --- /dev/null +++ b/nbt examples/tile entities.txt @@ -0,0 +1,109 @@ +TAG_List("TileEntities"): 3 items of type 10 +{ + TAG_Compound(""): 6 items + { + TAG_String("id"): 10 bytes: "MobSpawner" + TAG_Short("Delay"): 20 + TAG_Int("z"): 180 + TAG_String("EntityId"): 6 bytes: "Spider" + TAG_Int("y"): 11 + TAG_Int("x"): -6 + } + TAG_Compound(""): 5 items + { + TAG_List("Items"): 6 items of type 10 + { + TAG_Compound(""): 4 items + { + TAG_Short("id"): 325 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 1 + TAG_Byte("Slot"): 3 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 296 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 4 + TAG_Byte("Slot"): 5 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 325 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 1 + TAG_Byte("Slot"): 11 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 351 + TAG_Short("Damage"): 3 + TAG_Byte("Count"): 1 + TAG_Byte("Slot"): 13 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 296 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 1 + TAG_Byte("Slot"): 14 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 287 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 2 + TAG_Byte("Slot"): 15 + } + } + TAG_String("id"): 5 bytes: "Chest" + TAG_Int("z"): 182 + TAG_Int("y"): 11 + TAG_Int("x"): -7 + } + TAG_Compound(""): 5 items + { + TAG_List("Items"): 5 items of type 10 + { + TAG_Compound(""): 4 items + { + TAG_Short("id"): 289 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 1 + TAG_Byte("Slot"): 5 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 329 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 1 + TAG_Byte("Slot"): 12 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 265 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 4 + TAG_Byte("Slot"): 17 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 296 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 4 + TAG_Byte("Slot"): 21 + } + TAG_Compound(""): 4 items + { + TAG_Short("id"): 289 + TAG_Short("Damage"): 0 + TAG_Byte("Count"): 2 + TAG_Byte("Slot"): 22 + } + } + TAG_String("id"): 5 bytes: "Chest" + TAG_Int("z"): 181 + TAG_Int("y"): 11 + TAG_Int("x"): -8 + } +} \ No newline at end of file -- cgit v1.2.3