Files
minecraft-data/doc/add-data-new-version.md
T
u9gandU9G 31ef9cb941 Release 2.79.0 (#381)
* Add to items.json

* change all needed items.json files

* change durability to maxDurability

* Update items_schema.json

* fix schema

* Release 2.79.0

Co-authored-by: U9G <winworkswow@gmail.com>
2021-03-04 04:54:54 +01:00

1.3 KiB

How to add data for a new version ?

Protocol

Follow https://wiki.vg/Pre-release_protocol

Blocks, Items, Entities, Recipes

use https://github.com/PrismarineJS/burger-extractor

then use https://github.com/u9g/turbo-invention to add some more properties to the items.json

Block collision shape

https://github.com/PrismarineJS/minecraft-data/blob/master/doc/blockCollisionShapes.md#data-source

Loot table

https://github.com/PrismarineJS/minecraft-jar-extractor#block-loot-table-extractor

Map icons

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.

Enchantments

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.

WIP

This guide is WIP, more information will be added here

If something doesn't work, look at the list of extractors for ideas https://github.com/PrismarineJS/minecraft-data#extraction