Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ examples/genmaps/genmaps
examples/genmaps/*.png
data/packetid/generate.go
.idea/
.vscode/
.vscode/

temp/
11 changes: 3 additions & 8 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
## Updating `data`
## 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 `version` 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`
3. Update the `URL` in [gen_soundid.go](soundid/gen_soundid.go) (verify the URL returns a response first)
4. Run `go generate ./...`
All data packages are generated by `tools/` from the Minecraft server jar.
See [docs/dev/tools.md](../docs/dev/tools.md) for the extraction and generation pipeline.
104 changes: 0 additions & 104 deletions data/entity/gen_entity.go

This file was deleted.

96 changes: 0 additions & 96 deletions data/item/gen_item.go

This file was deleted.

Loading