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

20 lines
337 B
Go

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