Files
minecraft-data/doc/add-data-new-version.md
T
u9gandU9G c8e11f551f add treasureOnly, weight, curse, tradeable, discoverable, rem multiplier (#377)
* add treasureOnly, weight, curse, tradeable, discoverable, rem multiplier

* undo

* propogated properties & removed item & book modifiers

* Delete out.json

* add info to the add data doc

* Update enchantments_schema.json

Co-authored-by: U9G <winworkswow@gmail.com>
2021-02-26 20:10:56 +01:00

1.2 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

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