Rework soundIDs and packetIDs generator code to not be platform specific

This commit is contained in:
Scott Binns
2021-01-08 21:27:57 -07:00
parent 8b93d44f86
commit b299065c78
4 changed files with 200 additions and 186 deletions

View File

@ -1,8 +1,8 @@
// This file is automatically generated by gen_soundIDs.go. DO NOT EDIT.
package data
//go:generate bash -c "go run gen_soundIDs.go > soundIDs.go"
// This file is automatically generated by gen_soundIDs.go. DO NOT EDIT.
//go:generate go run gen_soundIDs.go
// SoundID represents a sound ID used in the minecraft protocol.
type SoundID int32