mirror of
https://github.com/pmmp/BedrockData.git
synced 2024-07-04 16:00:07 -03:00
Update README.md
This commit is contained in:
parent
a38b427888
commit
12d65cc672
49
README.md
49
README.md
@ -1,21 +1,9 @@
|
|||||||
# BedrockData
|
# BedrockData
|
||||||
Blobs of data generated from Minecraft: Bedrock Edition used by PocketMine-MP
|
Blobs of data generated from Minecraft: Bedrock Edition used by PocketMine-MP
|
||||||
|
|
||||||
### `required_block_states.json`
|
### `required_block_states.nbt`
|
||||||
This file contains data defining all the needed block states in MCPE's StartGamePacket. The format is as follows:
|
This file contains a network-format NBT list of all the blockstate permutations needed by MCPE's `StartGamePacket`.
|
||||||
<details><summary>Show</summary>
|
It's provided as-is directly from `StartGamePacket` sent by the current vanilla server.
|
||||||
<pre>
|
|
||||||
"prefix": {
|
|
||||||
"block_id": [
|
|
||||||
/* all of the needed metadata variants (or states in the future) */
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3
|
|
||||||
]
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
</details>
|
|
||||||
|
|
||||||
### `block_id_map.json`
|
### `block_id_map.json`
|
||||||
This file contains a mapping of all block stringy IDs to legacy numeric IDs (which are still used internally, and still needed by third party developers for conversion and for items).
|
This file contains a mapping of all block stringy IDs to legacy numeric IDs (which are still used internally, and still needed by third party developers for conversion and for items).
|
||||||
@ -23,6 +11,28 @@ This file contains a mapping of all block stringy IDs to legacy numeric IDs (whi
|
|||||||
#### Note
|
#### Note
|
||||||
Where a block's legacy ID is > 255, its item ID is `255 - legacyBlockId`. This means prismarine stairs = -2 and so on.
|
Where a block's legacy ID is > 255, its item ID is `255 - legacyBlockId`. This means prismarine stairs = -2 and so on.
|
||||||
|
|
||||||
|
### `r12_to_current_block_map.nbt`
|
||||||
|
This file contains a list of mappings from legacy pre-1.13 blockstates to states of the current version.
|
||||||
|
This data is obtained by plugging the legacy states into `BlockPalette` in the vanilla BDS using a mod, and writing the resulting NBT state obtained.
|
||||||
|
<details><summary>Schema</summary>
|
||||||
|
|
||||||
|
```
|
||||||
|
TAG_List: value={
|
||||||
|
"old" => TAG_Compound: value={
|
||||||
|
"name" => TAG_String: value="minecraft:example" //legacy string ID pre-1.13
|
||||||
|
"val" => TAG_Short: value=0 //legacy block metadata pre-1.13
|
||||||
|
}
|
||||||
|
"new" => TAG_Compound: value={
|
||||||
|
"name" => TAG_String: value="minecraft:new_example" //this might be different to the legacy ID in future versions!
|
||||||
|
"states" => TAG_Compound: value={
|
||||||
|
//list states here
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### `item_id_map.json`
|
### `item_id_map.json`
|
||||||
This file contains a mapping of all item stringy IDs to legacy numeric IDs.
|
This file contains a mapping of all item stringy IDs to legacy numeric IDs.
|
||||||
|
|
||||||
@ -32,8 +42,11 @@ This file defines all the known banner pattern types and their crafting requirem
|
|||||||
### `recipes.json`
|
### `recipes.json`
|
||||||
This file defines all crafting-table, furnace and chemistry recipes. This includes recipes for the smoker, cartography table etc.
|
This file defines all crafting-table, furnace and chemistry recipes. This includes recipes for the smoker, cartography table etc.
|
||||||
|
|
||||||
#### Note
|
|
||||||
Brewing recipes are **not** included because Mojang don't see fit to send these over network.
|
|
||||||
|
|
||||||
### `creativeitems.json`
|
### `creativeitems.json`
|
||||||
This file contains an ordered list of items which appear in the vanilla creative inventory with Education Edition and Experimental Gameplay enabled.
|
This file contains an ordered list of items which appear in the vanilla creative inventory with Education Edition and Experimental Gameplay enabled.
|
||||||
|
|
||||||
|
### `biome_definitions.nbt`
|
||||||
|
This file contains a network-format NBT blob containing biome definitions obtained from `BiomeDefinitionListPacket`.
|
||||||
|
|
||||||
|
### `entity_identifiers.nbt`
|
||||||
|
This file contains a network-format NBT blob containing entity identifier mappings obtained from `AvailableActorIdentifiersPacket`.
|
||||||
|
Loading…
Reference in New Issue
Block a user