1
0
mirror of https://github.com/pmmp/BedrockData.git synced 2024-06-28 07:28:24 -03:00
Blobs of data generated from Minecraft: Bedrock Edition used by PocketMine-MP
Go to file
Dylan K. Taylor 04c846c5f9
Updated from 1.17.0
this doesn't include creative inventory or crafting recipe updates
because of changes to how these are represented on the wire - they are
troublesome to translate now, so for now we're sticking with the older
stuff.
2021-06-08 19:31:00 +01:00
.gitattributes add gitattributes 2019-04-25 17:41:04 +01:00
.minify_json.php apparently this returns a relative path... 2019-04-25 20:02:09 +01:00
banner_patterns.json Rename banner-patterns.json to banner_patterns.json 2019-04-25 10:02:53 +01:00
biome_definitions.nbt Updated from 1.16.210 2021-03-12 00:06:46 +00:00
block_id_map.json Updated from 1.16.0 2020-06-25 19:18:47 +01:00
canonical_block_states.nbt Updated from 1.17.0 2021-06-08 19:31:00 +01:00
creativeitems.json Updated from 1.16.100 2020-11-21 00:54:00 +00:00
entity_id_map.json Updated from 1.17.0 2021-06-08 19:31:00 +01:00
entity_identifiers.nbt Updated from 1.17.0 2021-06-08 19:31:00 +01:00
item_id_map.json Updated from 1.16.0 2020-06-25 19:18:47 +01:00
LICENSE Initial commit 2018-06-12 18:40:06 +01:00
r12_block_states.json Updated from 1.16.0 2020-06-25 19:18:47 +01:00
r12_to_current_block_map.bin Updated from 1.16.210 2021-03-12 00:06:46 +00:00
r16_to_current_item_map.json Updated from 1.16.200 2020-12-08 20:27:41 +00:00
README.md [ci skip] make headers easier to see 2021-02-01 19:24:05 +00:00
recipes.json Updated from 1.16.100 2020-11-21 00:54:00 +00:00
required_item_list.json Updated from 1.17.0 2021-06-08 19:31:00 +01:00

BedrockData

Blobs of data generated from Minecraft: Bedrock Edition used by PocketMine-MP

canonical_block_states.nbt

This file contains an ordered list of TAG_Compounds (in varint NBT format) representing the pre-agreed blockstates in MCPE. The runtime ID of a state is the offset in the list that the state appears. The contents of this file are extracted from the vanilla BDS using pmmp/mapping.

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).

Note

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.bin

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 pmmp/mapping, and writing the resulting NBT state obtained.

Schema

The following structure is repeated until EOF. There is no length prefix, so you have to read to EOF to read all the mappings.

type description
unsigned varint32 r12 block string ID length
byte[] r12 block string ID
little-endian int16 r12 block metadata
TAG_Compound (varint format) current version NBT blockstate corresponding to the given r12 block

An example of how to read this file using the PocketMine-MP core library can be seen on the stable branch or on the master branch.

r16_to_current_block_map.json

This file contains mappings to translate pre-1.16.100 item IDs into post-1.16.100 item IDs. It contains two structures:

  • simple: these are 1:1 replacement IDs (e.g. carrotonastick was renamed to carrot_on_a_stick)
  • complex: these are items that were previously metadata values on other items (e.g. dye:4 is now represented by lapis_lazuli).

item_id_map.json

This file contains a mapping of all item stringy IDs to legacy numeric IDs.

banner_patterns.json

This file defines all the known banner pattern types and their crafting requirements.

recipes.json

This file defines all crafting-table, furnace and chemistry recipes. This includes recipes for the smoker, cartography table etc.

creativeitems.json

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.