Files
go-mc/level/component/mapcolor.go
2024-07-28 22:45:40 +08:00

16 lines
293 B
Go

package component
import pk "github.com/Tnze/go-mc/net/packet"
var _ DataComponent = (*MapColor)(nil)
type MapColor struct {
// The RGB components of the color, encoded as an integer.
pk.Int
}
// ID implements DataComponent.
func (MapColor) ID() string {
return "minecraft:map_color"
}