mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +00:00
default impl of ConfigType#registrySupplier
This commit is contained in:
parent
d8f948919d
commit
a59763da64
@ -23,11 +23,6 @@ public class FloraConfigType implements ConfigType<FloraTemplate, Structure> {
|
|||||||
};
|
};
|
||||||
private final FloraFactory factory = new FloraFactory();
|
private final FloraFactory factory = new FloraFactory();
|
||||||
|
|
||||||
@Override
|
|
||||||
public Supplier<OpenRegistry<Structure>> registrySupplier(ConfigPack pack) {
|
|
||||||
return pack.getRegistryFactory()::create;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FloraTemplate getTemplate(ConfigPack pack, Platform platform) {
|
public FloraTemplate getTemplate(ConfigPack pack, Platform platform) {
|
||||||
return new FloraTemplate();
|
return new FloraTemplate();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user