mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +00:00
clean up unused stuff
This commit is contained in:
parent
07520b9014
commit
3557536968
@ -34,12 +34,9 @@ public class ConfigTypeRegistry extends OpenRegistryImpl<ConfigType<?, ?>> {
|
|||||||
|
|
||||||
private final BiConsumer<String, ConfigType<?, ?>> callback;
|
private final BiConsumer<String, ConfigType<?, ?>> callback;
|
||||||
|
|
||||||
private final Platform platform;
|
|
||||||
|
|
||||||
public ConfigTypeRegistry(Platform platform, BiConsumer<String, ConfigType<?, ?>> callback) {
|
public ConfigTypeRegistry(Platform platform, BiConsumer<String, ConfigType<?, ?>> callback) {
|
||||||
super(new LinkedHashMap<>()); // Ordered
|
super(new LinkedHashMap<>()); // Ordered
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
this.platform = platform;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -137,13 +137,6 @@ public final class FabricAddon implements BaseAddon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void injectTree(CheckedRegistry<Tree> registry, String id, ConfiguredFeature<?, ?> tree) {
|
|
||||||
try {
|
|
||||||
registry.register(id, (Tree) tree);
|
|
||||||
} catch(DuplicateEntryException ignore) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Map<ConfigPack, Mutable<PreLoadCompatibilityOptions, PostLoadCompatibilityOptions>> getTemplates() {
|
public Map<ConfigPack, Mutable<PreLoadCompatibilityOptions, PostLoadCompatibilityOptions>> getTemplates() {
|
||||||
return templates;
|
return templates;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user