19 lines
281 B
Go
19 lines
281 B
Go
package component
|
|
|
|
import (
|
|
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
|
)
|
|
|
|
//codec:gen
|
|
type SalmonSize struct {
|
|
SizeType int32 `mc:"VarInt"`
|
|
}
|
|
|
|
func (*SalmonSize) Type() slot.ComponentID {
|
|
return 77
|
|
}
|
|
|
|
func (*SalmonSize) ID() string {
|
|
return "minecraft:salmon/size"
|
|
}
|