package org.adrianvictor.lib.impl.r1_21;

import org.adrianvictor.lib.versioning.VersionedServiceFactory;
import org.adrianvictor.lib.versioning.VersionedServiceRegistrar;
import org.adrianvictor.lib.configuration.provider.ConfigurationProvider;
import org.adrianvictor.lib.impl.r1_21.configuration.Configuration;
import org.adrianvictor.lib.text.provider.TextColorProvider;
import org.adrianvictor.lib.impl.r1_21.text.TextColor;

public class R1_21Registrar implements VersionedServiceRegistrar {
    @Override
    public void register(VersionedServiceFactory factory) {
        factory.register(ConfigurationProvider.class, "r1_1", Configuration::new);
        factory.register(TextColorProvider.class, "r1_16_5", TextColor::new);
    }
}
