Initialize Commit
This commit is contained in:
16
codec/component/dyed_color.go
Normal file
16
codec/component/dyed_color.go
Normal file
@ -0,0 +1,16 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type DyedColor struct {
|
||||
Color int32 `mc:"Int"` // RGB components encoded as integer
|
||||
}
|
||||
|
||||
func (*DyedColor) Type() slot.ComponentID {
|
||||
return 35
|
||||
}
|
||||
|
||||
func (*DyedColor) ID() string {
|
||||
return "minecraft:dyed_color"
|
||||
}
|
Reference in New Issue
Block a user