mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-04 00:45:57 +00:00
default impl of ConfigType#registrySupplier
This commit is contained in:
parent
c55c404973
commit
e5ab20e167
@ -24,11 +24,6 @@ public class FeatureConfigType implements ConfigType<FeatureTemplate, Feature> {
|
|||||||
|
|
||||||
private final FeatureFactory factory = new FeatureFactory();
|
private final FeatureFactory factory = new FeatureFactory();
|
||||||
|
|
||||||
@Override
|
|
||||||
public Supplier<OpenRegistry<Feature>> registrySupplier(ConfigPack pack) {
|
|
||||||
return pack.getRegistryFactory()::create;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FeatureTemplate getTemplate(ConfigPack pack, Platform platform) {
|
public FeatureTemplate getTemplate(ConfigPack pack, Platform platform) {
|
||||||
return new FeatureTemplate();
|
return new FeatureTemplate();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user