mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 00:27:21 +00:00
implementation pass 1
This commit is contained in:
1 parent
9631b1b578
commit
89657e362a
35 files changed
+121
-61
No files matched your search
@@ -1,10 +1,13 @@
|
||||
package com.dfsek.terra.api.config;
|
||||
|
||||
import com.dfsek.terra.api.LoaderRegistrar;
|
||||
import com.dfsek.terra.api.addon.TerraAddon;
|
||||
import com.dfsek.terra.api.registry.CheckedRegistry;
|
||||
import com.dfsek.terra.api.world.TerraWorld;
|
||||
import com.dfsek.terra.api.world.biome.generation.BiomeProvider;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public interface ConfigPack extends LoaderRegistrar {
|
||||
@SuppressWarnings("unchecked")
|
||||
<T> CheckedRegistry<T> getRegistry(Class<T> clazz);
|
||||
@@ -14,4 +17,12 @@ public interface ConfigPack extends LoaderRegistrar {
|
||||
WorldConfig toWorldConfig(TerraWorld world);
|
||||
|
||||
CheckedRegistry<ConfigType<?, ?>> getConfigTypeRegistry();
|
||||
|
||||
Set<TerraAddon> addons();
|
||||
|
||||
String getID();
|
||||
|
||||
String getAuthor();
|
||||
|
||||
String getVersion();
|
||||
}
|
||||
Reference in new issue
Block a user