mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 10:26:22 +03:00
1.8-0.1.0
minecraft-data
Language independent module providing minecraft data for minecraft clients, servers and libraries.
Support minecraft 1.8.3.
Minecraft-data is language independent, you can use it with these language specific modules :
- node-minecraft-data provides indexes and look up functions in node.js
Documentation
- See doc/history.md
- Documentation generated using the json schemas and docson
- Textual documentation of the recipe format
Extractors
Minecraft data provides a few extractors to update the data :
| Data file | Extractor | Source |
|---|---|---|
| items | item_extractor | minecraft wiki |
| entities | entities_extractor | minecraft wiki |
| blocks | block_extractor | minecraft wiki |
| materials | manual : this file is very simple, it is there to make it easier to handle some edge cases | |
| instruments | manual : data coming from wiki.vg | |
| recipes | recipe_extractor | minecraft wiki |
| items, blocks, biomes and recipes | generate_enums | burger.json file generated by https://github.com/mcdevs/Burger which is not up to date with minecraft 1.8 |
| biomes | manual : see https://github.com/andrewrk/mineflayer/pull/197 for more detail | |
| protocol | manual but protocol_extractor and protocol_extractor can be useful for updating it |
Data quality
Minecraft data provides scripts to audit the data, they can be useful to check the data is correct :
- tools/js/audit/audit_block_enum.js audits blocks.json : it checks for duplicates names and jumps in ids
- tools/js/audit/audit_item_enum.js audits items.json : it checks for duplicates names and jumps in ids
- tools/js/audit/audit_recipes.js audits recipes.json : it counts the number of recipes with a shape, without one and with an outShape
Minecraft data also provides json schemas in enums_schemas/ that are used in test/test.js to check the json file are valid relative to these schemas. These schemas can also be used to understand better how the json files are formatted in order to use it.
Description
Language independent module providing minecraft data for minecraft clients, servers and libraries.
202 MiB
Languages
JavaScript
100%