Àgeable,
MobBucketItem,
UniformGenerator and
ShuffleList`
This commit is contained in:
parent
0ac3814cd5
commit
cfa765437c
6 changed files with 14 additions and 14 deletions
|
@ -5,7 +5,7 @@ import java.util.stream.Collectors;
|
|||
|
||||
import net.minecraft.data.BuiltinRegistries;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.entity.ai.behavior.WeightedList;
|
||||
import net.minecraft.world.entity.ai.behavior.ShufflingList;
|
||||
import net.minecraft.world.level.biome.Biome;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import ru.bclib.api.BiomeAPI;
|
||||
|
@ -62,7 +62,7 @@ public class BYGIntegration extends ModIntegration implements EndBiomeIntegratio
|
|||
EndBiomes.LAND_BIOMES.removeMutableBiome(biomeID);
|
||||
EndBiomes.VOID_BIOMES.addBiomeMutable(endBiome);
|
||||
}
|
||||
WeightedList<ResourceLocation> subBiomes = this.getAndExecuteRuntime(biomeClass, obj, "getHills");
|
||||
ShufflingList<ResourceLocation> subBiomes = this.getAndExecuteRuntime(biomeClass, obj, "getHills");
|
||||
if (subBiomes != null) {
|
||||
subBiomes.stream().collect(Collectors.toList()).forEach((id) -> {
|
||||
BCLBiome subBiome = BiomeAPI.getBiome(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue