Integrations prototype

This commit is contained in:
paulevsGitch 2020-12-20 00:30:39 +03:00
parent 26e9f79def
commit eadeba4593
7 changed files with 110 additions and 2 deletions

View file

@ -295,11 +295,11 @@ public class EndBiomes {
return biome;
}
private static EndBiome registerBiome(RegistryKey<Biome> key, BiomeType type, float genChance) {
public static EndBiome registerBiome(RegistryKey<Biome> key, BiomeType type, float genChance) {
return registerBiome(BuiltinRegistries.BIOME.get(key), type, genChance);
}
private static EndBiome registerSubBiome(RegistryKey<Biome> key, EndBiome parent, float genChance) {
public static EndBiome registerSubBiome(RegistryKey<Biome> key, EndBiome parent, float genChance) {
return registerSubBiome(BuiltinRegistries.BIOME.get(key), parent, genChance, true);
}