Fixed biome def

This commit is contained in:
paulevsGitch 2021-06-20 15:35:43 +03:00
parent 849b28f7d3
commit 6e601179c5

View file

@ -29,6 +29,7 @@ import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.levelgen.GenerationStep.Carving; import net.minecraft.world.level.levelgen.GenerationStep.Carving;
import net.minecraft.world.level.levelgen.GenerationStep.Decoration; import net.minecraft.world.level.levelgen.GenerationStep.Decoration;
import net.minecraft.world.level.levelgen.carver.CarverConfiguration;
import net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver; import net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver;
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature; import net.minecraft.world.level.levelgen.feature.ConfiguredFeature;
import net.minecraft.world.level.levelgen.feature.ConfiguredStructureFeature; import net.minecraft.world.level.levelgen.feature.ConfiguredStructureFeature;
@ -346,7 +347,7 @@ public class BCLBiomeDef {
private static final class CarverInfo { private static final class CarverInfo {
Carving carverStep; Carving carverStep;
ConfiguredWorldCarver<ProbabilityFeatureConfiguration> carver; ConfiguredWorldCarver<CarverConfiguration> carver;
} }
public ResourceLocation getID() { public ResourceLocation getID() {
@ -365,7 +366,7 @@ public class BCLBiomeDef {
return edgeSize; return edgeSize;
} }
public BCLBiomeDef addCarver(Carving carverStep, ConfiguredWorldCarver<ProbabilityFeatureConfiguration> carver) { public BCLBiomeDef addCarver(Carving carverStep, ConfiguredWorldCarver<CarverConfiguration> carver) {
CarverInfo info = new CarverInfo(); CarverInfo info = new CarverInfo();
info.carverStep = carverStep; info.carverStep = carverStep;
info.carver = carver; info.carver = carver;