mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-24 00:56:38 +00:00
remove registry provider from ConfigType
This commit is contained in:
@@ -15,10 +15,6 @@ import com.dfsek.terra.api.util.reflection.TypeKey;
|
||||
|
||||
|
||||
public interface ConfigType<T extends AbstractableTemplate, R> {
|
||||
default Supplier<OpenRegistry<R>> registrySupplier(ConfigPack pack) {
|
||||
return pack.getRegistryFactory()::create;
|
||||
}
|
||||
|
||||
T getTemplate(ConfigPack pack, Platform platform);
|
||||
|
||||
ConfigFactory<T, R> getFactory();
|
||||
|
||||
Reference in New Issue
Block a user