mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-10 09:46:24 +00:00
use getCheckedRegistry where possible
This commit is contained in:
@@ -13,8 +13,6 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public interface ConfigPack extends LoaderRegistrar, LoaderHolder, RegistryHolder {
|
||||
<T> CheckedRegistry<T> getRegistry(Class<T> clazz);
|
||||
|
||||
BiomeProviderBuilder getBiomeProviderBuilder();
|
||||
|
||||
WorldConfig toWorldConfig(TerraWorld world);
|
||||
|
||||
@@ -6,5 +6,5 @@ import com.dfsek.terra.api.registry.Registry;
|
||||
public interface RegistryHolder {
|
||||
<T> Registry<T> getRegistry(Class<T> clazz);
|
||||
|
||||
<T>CheckedRegistry<T> getCheckedRegistry(Class<T> clazz) throws IllegalStateException;
|
||||
<T> CheckedRegistry<T> getCheckedRegistry(Class<T> clazz) throws IllegalStateException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user