Initialize Commit
This commit is contained in:
16
codec/component/base_color.go
Normal file
16
codec/component/base_color.go
Normal file
@ -0,0 +1,16 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type BaseColor struct {
|
||||
Color DyeColor
|
||||
}
|
||||
|
||||
func (*BaseColor) Type() slot.ComponentID {
|
||||
return 64
|
||||
}
|
||||
|
||||
func (*BaseColor) ID() string {
|
||||
return "minecraft:base_color"
|
||||
}
|
Reference in New Issue
Block a user