mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 07:06:23 +03:00
* Update add-data-new-version.md to reflect changes in minecraft-data-generator-server Update the auto list to reflect what minecraft-data-generator-server generates and also about what issues you may have to fix in its generated files. Also noted that `blockLoot.json` and `entityLoot.json` has no currently working extractor. * Make table now hold good info. * Remove comment that I realized was wrong. * Fix two broken links * Fix 3 more broken links * Add notes about entity metadata * Fix capitalization in a few areas, and mention always double checking packets vs MC source * Add details about other files that need updating on new versions., * Remove mention of minecraft-jar-extractor since it doesn't work. * Add minecraft-jar-extractor
3.1 KiB
3.1 KiB
How to add data for a new version ?
For bedrock edition see bedrock.md
| file name | auto? | how to get it | notes |
|---|---|---|---|
| protocol.json | No | Follow Pre-release Protocol | Always double check by looking at the Minecraft source files. |
| blocks.json | Yes | Use minecraft-data-generator-server | |
| items.json | Yes | Use minecraft-data-generator-server | |
| entities.json | Yes | Use minecraft-data-generator-server and run extractPcEntityMetadata.js script in tools/js to generate entity metadata in entities.json and protocol.json |
|
| recipes.json | Yes | Use minecraft-data-generator-server | Make sure that -1 in output are replaced with null |
| blockCollisionShapes.json | Yes | Use minecraft-data-generator-server | |
| commands.json | No? | Use mc-data-command-generator | Link to jar files have to be manually added |
| biomes.json | Yes | Use minecraft-data-generator-server | |
| instruments | Yes | Use minecraft-data-generator-server | |
| materials.json | Yes | Use minecraft-data-generator-server | |
| windows.json | No | Look at wiki.vg inventories | |
| version.json | No | Look at Protocol Versions | wiki.vg protocol numbers |
| effects.json | Yes | Use minecraft-data-generator-server | |
| enchantments.json | Yes | Use minecraft-data-generator-server | |
| language.json | Yes | Use minecraft-data-generator-server | |
| particles.json | Yes | Use minecraft-data-generator-server | |
| blockLoot.json | No | Use minecraft-jar-extractor | Extractor can be very be tempermental at times |
| entityLoot.json | No | Use minecraft-jar-extractor | Extractor can be very be tempermental at times |
| mapIcons.json | No | Icons data can be found in the Minecraft source directly. 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 |
| loginPacket.json | Yes | Running tests on node-minecraft-protocol | |
| sounds.json | Yes | Use minecraft-data-generator-server |
- 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.
After generating and creating the new files for the version in its own directory, the version must be added to dataPaths.json in the data folder. Additionally in data/pc/common the versions.json file needs to be updated with the new version.