refactor package
This commit is contained in:
18
pkg/protocol/component/cat_collar.go
Normal file
18
pkg/protocol/component/cat_collar.go
Normal file
@ -0,0 +1,18 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
||||
)
|
||||
|
||||
//codec:gen
|
||||
type CatCollar struct {
|
||||
Color DyeColor
|
||||
}
|
||||
|
||||
func (*CatCollar) Type() slot.ComponentID {
|
||||
return 93
|
||||
}
|
||||
|
||||
func (*CatCollar) ID() string {
|
||||
return "minecraft:cat/collar"
|
||||
}
|
Reference in New Issue
Block a user