make Keyed generic

This commit is contained in:
dfsek committed 2021-12-26 15:11:04 -07:00
1 parent 5e3f310154
commit 1ac3964589
2 files changed
+2 -2

No files matched your search

@@ -29,7 +29,7 @@ import com.dfsek.terra.api.world.chunk.generation.stage.GenerationStage;
import com.dfsek.terra.api.world.chunk.generation.util.provider.ChunkGeneratorProvider;
public interface ConfigPack extends LoaderRegistrar, ConfigLoadingDelegate, CheckedRegistryHolder, RegistryProvider, Keyed {
public interface ConfigPack extends LoaderRegistrar, ConfigLoadingDelegate, CheckedRegistryHolder, RegistryProvider, Keyed<ConfigPack> {
ConfigPack registerConfigType(ConfigType<?, ?> type, RegistryKey id, int priority);
@@ -1,6 +1,6 @@
package com.dfsek.terra.api.registry.key;
public interface Keyed extends Namespaced, StringIdentifiable {
public interface Keyed<T extends Keyed<T>> extends Namespaced, StringIdentifiable {
RegistryKey getRegistryKey();
@Override