Wording in README

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser
2021-08-06 10:35:41 -05:00
parent 3c21a11d12
commit 5fcdc5a388

View File

@ -1,7 +1,10 @@
## Updating `data`
1. Go to [https://github.com/PrismarineJS/minecraft-data/tree/master/data/pc/{version}](https://github.com/PrismarineJS/minecraft-data/tree/master/data/pc)
2. Update the URL (if appropriate) in [gen_block.go](block/gen_block.go), [gen_entity.go](entity/gen_entity.go),
[gen_item.go](item/gen_item.go), and [gen_packetid.go](packetid/gen_packetid.go)
3. Update the `URL` in [gen_soundid.go](soundid/gen_soundid.go)
2. Update the URL in the following files if there is a new corresponding JSON file available:
- [gen_block.go](block/gen_block.go) - `blocks.json`
- [gen_entity.go](entity/gen_entity.go) - `entities.json`
- [gen_item.go](item/gen_item.go) - `items.json`
- [gen_packetid.go](packetid/gen_packetid.go) - `protocol.json`
3. Update the `URL` in [gen_soundid.go](soundid/gen_soundid.go) (verify the URL returns a response first)
4. Run `go generate ./...`