Import optimisation, carver adding fix
This commit is contained in:
parent
2518759f7b
commit
8eba063b40
22 changed files with 49 additions and 94 deletions
|
@ -378,9 +378,9 @@ public class BCLBiomeDef {
|
|||
ConfiguredFeature<?, ?> feature;
|
||||
}
|
||||
|
||||
private static final class CarverInfo {
|
||||
private static final class CarverInfo <C extends CarverConfiguration> {
|
||||
Carving carverStep;
|
||||
ConfiguredWorldCarver<CarverConfiguration> carver;
|
||||
ConfiguredWorldCarver<C> carver;
|
||||
}
|
||||
|
||||
public ResourceLocation getID() {
|
||||
|
@ -399,7 +399,7 @@ public class BCLBiomeDef {
|
|||
return edgeSize;
|
||||
}
|
||||
|
||||
public BCLBiomeDef addCarver(Carving carverStep, ConfiguredWorldCarver<CarverConfiguration> carver) {
|
||||
public <C extends CarverConfiguration> BCLBiomeDef addCarver(Carving carverStep, ConfiguredWorldCarver<C> carver) {
|
||||
CarverInfo info = new CarverInfo();
|
||||
info.carverStep = carverStep;
|
||||
info.carver = carver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue