1.21.8 data
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Go / Test (1.22) (push) Has been cancelled
Go / Test (^1.22) (push) Has been cancelled

This commit is contained in:
2025-08-22 06:17:33 +08:00
parent 133e3fab4a
commit 0958972953
173 changed files with 13782 additions and 406 deletions

View File

@ -15,6 +15,7 @@ func UpperTheFirst(word string) string {
func ToGoTypeName(name string) string {
name = strings.TrimPrefix(name, "minecraft:")
name = strings.ReplaceAll(name, ".", "_")
words := strings.Split(name, "_")
for i := range words {
words[i] = UpperTheFirst(words[i])