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 revisionPrevious revision
Next revisionBoth sides next revision
tutorial:features [2020/01/08 12:18] lightcolourtutorial:features [2020/04/23 18:18] – [Adding a Feature to a Biome] Update feature configuration 2xsaiko
Line 64: Line 64:
 Registry.BIOME.forEach(biome -> biome.addFeature( Registry.BIOME.forEach(biome -> biome.addFeature(
         GenerationStep.Feature.RAW_GENERATION,         GenerationStep.Feature.RAW_GENERATION,
- Biome.configureFeature( + LAVA_HOLE.configure(new DefaultFeatureConfig()) 
- LAVA_HOLE, + .configureDecorator(Decorator.CHANCE_HEIGHTMAP, new ChanceDecoratorConfig(100));
- new DefaultFeatureConfig(), +
- Decorator.CHANCE_HEIGHTMAP, +
- new ChanceDecoratorConfig(100) +
- )+
 )); ));
 </code> </code>
tutorial/features.txt · Last modified: 2023/12/18 01:19 by solidblock