Files
minego/pkg/protocol/component/bees.go
2025-08-27 20:28:44 +08:00

28 lines
445 B
Go

package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type Bees struct {
Bees []Bee
}
//codec:gen
type Bee struct {
EntityData nbt.RawMessage `mc:"NBT"`
TicksInHive int32 `mc:"VarInt"`
MinTicksInHive int32 `mc:"VarInt"`
}
func (*Bees) Type() slot.ComponentID {
return 68
}
func (*Bees) ID() string {
return "minecraft:bees"
}