registerFeatureType

fun registerFeatureType(name: String, codec: MapCodec<out Feature>): MapCodec<out Feature>

Registers a new feature type under name using codec.