User Tools

Site Tools


tutorial:features

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorial:features [2020/04/23 18:18]
2xsaiko [Adding a Feature to a Biome] Update feature configuration
tutorial:features [2020/04/23 18:53] (current)
2xsaiko [Adding a Feature to a Biome] Update feature configuration
Line 65: Line 65:
         GenerationStep.Feature.RAW_GENERATION,​         GenerationStep.Feature.RAW_GENERATION,​
  LAVA_HOLE.configure(new DefaultFeatureConfig())  LAVA_HOLE.configure(new DefaultFeatureConfig())
- .configureDecorator(Decorator.CHANCE_HEIGHTMAPnew ChanceDecoratorConfig(100));​+ .createDecoratedFeature(Decorator.CHANCE_HEIGHTMAP.configure(new ChanceDecoratorConfig(100)));
 )); ));
 </​code>​ </​code>​
tutorial/features.txt ยท Last modified: 2020/04/23 18:53 by 2xsaiko