Files
minego/pkg/protocol/component/entity_data.go
2025-08-22 05:14:59 +08:00

20 lines
312 B
Go

package component
import (
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen
type EntityData struct {
Data nbt.RawMessage `mc:"NBT"`
}
func (*EntityData) Type() slot.ComponentID {
return 49
}
func (*EntityData) ID() string {
return "minecraft:entity_data"
}