Giter Site home page Giter Site logo

bedrockdata's Introduction

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.

biome_id_map.json

This file contains a mapping of Minecraft string biome IDs to their legacy integer ID counterparts. While biome IDs aren't dynamic yet, it's expected they will become dynamic in the future.

entity_identifiers.nbt

This file contains a network-format NBT blob containing entity identifier mappings obtained from AvailableActorIdentifiersPacket.

level_sound_id_map.json

This file contains a mapping of string sound names to LevelSoundEvent IDs used by LevelSoundEventPacket.

Note that this file may be missing some IDs (it is generated from vanilla using pmmp/mapping, and vanilla itself is missing some mappings).

particle_id_map.json

This file contains a mapping of string particle names to their legacy particle IDs (used for LevelEventPacket). Generated by pmmp/mapping.

bedrockdata's People

Contributors

kiellaurence avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.