Start gen refactor

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser
2021-08-05 20:15:52 -05:00
parent ef89758ede
commit 7923ad0c2a
7 changed files with 107 additions and 32 deletions

7
data/README.md Normal file
View File

@ -0,0 +1,7 @@
## 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)
4. Run `go generate ./...`