update data/entity

This commit is contained in:
Tnze
2023-06-26 21:12:47 +08:00
parent 77d38b0c4e
commit 19889e3a7b
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ var (
Name: "camel", Name: "camel",
Width: 1.7, Width: 1.7,
Height: 2.375, Height: 2.375,
Type: "player", Type: "animal",
} }
Cat = Entity{ Cat = Entity{
ID: 11, ID: 11,
@ -834,7 +834,7 @@ var (
Name: "sniffer", Name: "sniffer",
Width: 1.9, Width: 1.9,
Height: 1.75, Height: 1.75,
Type: "player", Type: "animal",
} }
SnowGolem = Entity{ SnowGolem = Entity{
ID: 91, ID: 91,

View File

@ -15,7 +15,7 @@ import (
) )
const ( const (
version = "1.19.4" version = "1.20"
infoURL = "https://raw.githubusercontent.com/PrismarineJS/minecraft-data/master/data/pc/" + version + "/entities.json" infoURL = "https://raw.githubusercontent.com/PrismarineJS/minecraft-data/master/data/pc/" + version + "/entities.json"
// language=gohtml // language=gohtml
entityTmpl = `// Code generated by gen_entity.go DO NOT EDIT. entityTmpl = `// Code generated by gen_entity.go DO NOT EDIT.