19 lines
292 B
Go
19 lines
292 B
Go
package component
|
|
|
|
import (
|
|
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
|
)
|
|
|
|
//codec:gen
|
|
type ParrotVariant struct {
|
|
Variant int32 `mc:"VarInt"`
|
|
}
|
|
|
|
func (*ParrotVariant) Type() slot.ComponentID {
|
|
return 78
|
|
}
|
|
|
|
func (*ParrotVariant) ID() string {
|
|
return "minecraft:parrot/variant"
|
|
}
|