mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +00:00
structure configtype impl
This commit is contained in:
parent
5d3afcc82c
commit
c79ce49e4d
@ -1 +1 @@
|
||||
Subproject commit 0a14a40952f94648e3900515f85e095c6f174b87
|
||||
Subproject commit 51b30fb818daa2dd8e6a15308f15cd4ee68e4b5b
|
@ -1 +1 @@
|
||||
Subproject commit 44674dfc39e70e81c00fe3cf408054fe03844e58
|
||||
Subproject commit 387a159541ecd261f1eeda91c56757c842f195f9
|
@ -1 +1 @@
|
||||
Subproject commit ae234cbe99b92f417abbe016fff087e7977eef5b
|
||||
Subproject commit c39eaab27e59303044e585b3ab1ef0ca708f5257
|
@ -1 +1 @@
|
||||
Subproject commit 5856844c23b5a8a9839fa4a39def57c0bfc04917
|
||||
Subproject commit a3331568493aec776a36414031eab220367afb38
|
@ -1 +1 @@
|
||||
Subproject commit a352e4fcbb4e31bebfabb56780832bd970ed3ca2
|
||||
Subproject commit bf76b07e7c51ad461a795d76f1cf73ca6fc38e9e
|
@ -15,7 +15,9 @@ import com.dfsek.terra.api.util.reflection.TypeKey;
|
||||
|
||||
|
||||
public interface ConfigType<T extends AbstractableTemplate, R> {
|
||||
Supplier<OpenRegistry<R>> registrySupplier(ConfigPack pack);
|
||||
default Supplier<OpenRegistry<R>> registrySupplier(ConfigPack pack) {
|
||||
return pack.getRegistryFactory()::create;
|
||||
}
|
||||
|
||||
T getTemplate(ConfigPack pack, Platform platform);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user