mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 12:06:17 +03:00
6.6 KiB
6.6 KiB
How to add data for a new version ?
For bedrock edition see bedrock.md
Now
There is a tool that generates almost every file here: minecraft-data-generator-server The files it generates: biomes.json, blockCollisionShapes.json, blocks.json, effects.json, enchantments.json, entities.json, foods.json, items.json, particles.json, tints.json, materials.json, language.json, instruments.json
You can see all generators as of the latest commit when this was written here
For everything else you can look at the next table under the Previously header.
Previously
| file name | auto? | how to get it | notes |
|---|---|---|---|
| protocol.json | No | Follow Pre-release Protocol | |
| blocks.json | Yes | Use Burger, then use burger-extractor | |
| items.json | Yes | Use Burger, then use burger-extractor, then use turbo-invention | |
| entities.json | Yes | Use Burger, then use burger-extractor | |
| recipes.json | Yes | Use Burger, then use burger-extractor | should eventually be changed to native data generators |
| blockCollisionShapes.json | Yes | Use McDataExtracting | |
| commands.json | No? | Use mc-data-command-generator | link to jar files have to be manually added |
| biomes.json | Yes | Use Burger, then use burger-extractor | extra info |
| instruments | No | wiki.vg block actions | |
| materials.json | No | import from previous version or fix it properly | |
| windows.json | No | Look at wiki.vg inventories | |
| version.json | No | Look at Protocol Versions | wiki.vg protocol numbers |
| effects.json | No | Look at minecraft wiki effects | |
| enchantments.json | No | Duplicate enchantments.json from the latest version and add manually the missing enchantments. Enchantments data could be found by looking into the deobfuscated classe files of each enchantments, as well as in the Enchantments registry. | |
| language.json | Yes | Use minecraft-jar-extractor | |
| particles.json | Yes | Use Burger, then use burger-extractor | |
| blockLoot.json | Yes | Use minecraft-jar-extractor | |
| entityLoot.json | Yes | Use minecraft-jar-extractor | |
| mapIcons.json | No | Icons can be found in the Minecraft jar file where they are added as a single sprite. The file location is /assets/minecraft/textures/map/map_icons.png. Alternatively you might be able to look up the icons from the following page on the Minecraft wiki or from wiki.vg. |
minecraft-data pr mapIcons |
- All files that say Yes for auto can be gotten from minecraft-data-auto-updater (that uses minecraft-data-generator-server). This is the preferred way to extract the data.