Fixed biome def
This commit is contained in:
parent
849b28f7d3
commit
6e601179c5
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue