Files
minego/codec/component/dyed_color.go
2025-06-19 15:01:07 +08:00

17 lines
301 B
Go

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"
}