feature

fun feature(index: GenerationStep.Decoration, feature: PlacedFeature)

Adds a PlacedFeature at the specified GenerationStep.Decoration to the list of features this BiomeInjection should add.

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


fun feature(index: GenerationStep.Decoration, feature: Holder<PlacedFeature>)

Adds a PlacedFeature via a Holder that either already contains the PlacedFeature, or is set later by the PlacedFeature Registry at the specified GenerationStep.Decoration to the list of features this BiomeInjection should add.


fun feature(index: GenerationStep.Decoration, featureId: ResourceLocation)

Adds a PlacedFeature to the list of features via its ResourceLocation to the list of features this BiomeInjection should add. If the PlacedFeature is not yet registered, an empty Holder will be created and the PlacedFeature will be set later by the PlacedFeature Registry.


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

Adds a PlacedFeature to the list of features via its ResourceKey to the list of features this BiomeInjection should add. If the PlacedFeature is not yet registered, an empty Holder will be created and the PlacedFeature will be set later by the PlacedFeature Registry.