Categorygithub.com/df-mc/datagen
modulepackage
0.0.0-20250212102404-480d1f5679fa
Repository: https://github.com/df-mc/datagen.git
Documentation: pkg.go.dev

# README

Data Gen

This repository is a simple tool which connects to BDS using gophertunnel and generates necessary data for Dragonfly updates.

Usage

  1. Download the latest version of BDS and run the server. You will also need to generate a vanilla world with education features and any other appropriate experiments enabled.
  2. Make sure data/block_state_meta_map.json and data/canonical_block_states.nbt are up-to-date from BedrockData (or newly generated from bds-mod-mapping)
  3. Run go run main.go and authenticate with Xbox if it is your first time running the tool
  4. Once the data is generated, copy the required folders from output into the desired location

[!NOTE] All .nbt files use the network-encoding variant of NBT.

[!TIP] The tool will generate the data in a structured format, allowing you to easily copy the data into the respective repositories.

Dragonfly data (output/dragonfly)

FileDescription
server/item/creative/creative_items.nbtThis file contains the creative groups and items in the vanilla order
server/item/recipe/crafting_data.nbtThis file contains a list of shaped and shapeless crafting recipes
server/item/recipe/furnace_data.nbtThis file contains a list of furnace recipes
server/item/recipe/potion_data.nbtThis file contains a list of brewing stand recipes
server/item/recipe/smithing_data.nbtThis file contains a list of recipes for the smithing table, excluding armour trims
server/item/recipe/smithing_trim_data.nbtThis file contains a list of recipes for armour trims in the smithing table
server/vanilla_items.nbtThis file contains a list of all vanilla items with their runtime ID and version

PMMP Data (output/pocketmine)

[!NOTE] The ordering of recipes does not currently match the existing ordering for BedrockData, creating unreliable diffs if used.

FileDescription
biome_definitions.nbtThis file contains a filtered version of the biome mappings obtained from the BiomeDefinitionList packet
biome_definitions_full.nbtThis file contains the raw biome mappings obtained from the BiomeDefinitionList packet
creativeitems.jsonThe file contains the creative groups and items obtained from the CreativeContent packet
entity_id_map.jsonThis file contains a mapping of entity identifiers to their legacy, numerical IDs
entity_identifiers.nbtThis file contains entity identifier mappings obtained from the AvailableActorIdentifiers packet
required_item_list.jsonThis file contains a list of items with their runtime ID and version, obtained from the ItemRegistry packet
recipes/potion_container_change.jsonThis file contains the brewing recipes that affect the bottle of the potion
recipes/potion_type.jsonThis file contains the brewing recipes, excluding the container changes
recipes/shaped_chemistry_asymmetric.jsonThis file contains the shaped chemistry recipes
recipes/shaped_crafting.jsonThis file contains the shaped crafting recipes
recipes/shapeless_chemistry.jsonThis file contains the shapeless chemistry recipes
recipes/shapeless_crafting.jsonThis file contains the shapeless crafting recipes
recipes/shapeless_shulker_box.jsonThis file contains the recipes for coloured containers
recipes/smelting.jsonThis file contains the furnace recipes
recipes/smithing.jsonThis file contains the smithing table recipes, excluding armour trims
recipes/smithing_trim.jsonThis file contains the armour trim recipes for the smithing table
recipes/special_hardcoded.jsonThis file contains the UUIDs for recipes that are hardcoded on the client

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author