feature

fun feature(step: GenerationStep.Decoration, placedFeature: PlacedFeature): BiomeBuilder

Adds a PlacedFeature to this biome. The step parameter specifies the step at which the feature should be executed (For a list of all steps, check out the GenerationStep.Decoration enum).

For more information on features, check out their docs page.


fun feature(step: GenerationStep.Decoration, placedFeature: Holder<PlacedFeature>): BiomeBuilder

Adds a PlacedFeature to this biome via a Holder that either already contains a PlacedFeature, or is set later by the PlacedFeature Registry. The step parameter specifies the step at which the feature should be executed (For a list of all steps, check out the GenerationStep.Decoration enum).

For more information on features, check out their docs page.


fun feature(step: GenerationStep.Decoration, placedFeature: ResourceLocation): BiomeBuilder

Adds a PlacedFeature to this biome via its ResourceLocation. If the PlacedFeature is not yet registered, an empty Holder will be created and the PlacedFeature will be set later by the PlacedFeature Registry. The step parameter specifies the step at which the feature should be executed (For a list of all steps, check out the GenerationStep.Decoration enum).

For more information on features, check out their docs page.


fun feature(step: GenerationStep.Decoration, featureKey: ResourceKey<PlacedFeature>): BiomeBuilder

Adds a PlacedFeature to this biome via its ResourceKey. If the PlacedFeature is not yet registered, an empty Holder will be created and the PlacedFeature will be set later by the PlacedFeature Registry. The step parameter specifies the step at which the feature should be executed (For a list of all steps, check out the GenerationStep.Decoration enum).

For more information on features, check out their docs page.