More biome builder functions (generation settings, music)
This commit is contained in:
parent
14ab0c878b
commit
c7c11d0b4c
7 changed files with 73 additions and 7 deletions
|
@ -217,7 +217,7 @@ public class BCLBiomeDef {
|
|||
|
||||
public BCLBiomeDef addFeature(BCLFeature feature) {
|
||||
FeatureInfo info = new FeatureInfo();
|
||||
info.featureStep = feature.getFeatureStep();
|
||||
info.featureStep = feature.getDecoration();
|
||||
info.feature = feature.getPlacedFeature();
|
||||
features.add(info);
|
||||
return this;
|
||||
|
|
|
@ -58,7 +58,7 @@ public class BCLFeature {
|
|||
* Get feature decoration step.
|
||||
* @return {@link Decoration}.
|
||||
*/
|
||||
public Decoration getFeatureStep() {
|
||||
public Decoration getDecoration() {
|
||||
return featureStep;
|
||||
}
|
||||
/**
|
||||
|
|
|
@ -19,8 +19,8 @@ import net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConf
|
|||
import net.minecraft.world.level.levelgen.structure.BoundingBox;
|
||||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings;
|
||||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate;
|
||||
import ru.bclib.api.biomes.BiomeAPI;
|
||||
import ru.bclib.api.TagAPI;
|
||||
import ru.bclib.api.biomes.BiomeAPI;
|
||||
import ru.bclib.util.BlocksHelper;
|
||||
import ru.bclib.world.processors.DestructionStructureProcessor;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue