mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 16:05:29 +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();
|
||||
|
||||
@Override
|
||||
public Supplier<OpenRegistry<Feature>> registrySupplier(ConfigPack pack) {
|
||||
return pack.getRegistryFactory()::create;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FeatureTemplate getTemplate(ConfigPack pack, Platform platform) {
|
||||
return new FeatureTemplate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user