configuredFeature

fun configuredFeature(configuredFeature: ConfiguredFeature<*, *>)

Sets the ConfiguredFeature that should be placed by this PlacedFeature.


fun configuredFeature(configuredFeature: Holder<ConfiguredFeature<*, *>>)

Sets the ConfiguredFeature that should be placed by this PlacedFeature via a Holder that either already contains the ConfiguredFeature, or is set later by the ConfiguredFeature Registry.

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


fun configuredFeature(configuredFeatureId: ResourceLocation)

Sets the ConfiguredFeature that should be placed by this PlacedFeature via its ResourceLocation. If the ConfiguredFeature is not yet registered, an empty Holder will be created and the ConfiguredFeature will be set later by the ConfiguredFeature Registry.

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


fun configuredFeature(configuredFeatureKey: ResourceKey<ConfiguredFeature<*, *>>)

Sets the ConfiguredFeature that should be placed by this PlacedFeature via its ResourceKey. If the ConfiguredFeature is not yet registered, an empty Holder will be created and the ConfiguredFeature will be set later by the ConfiguredFeature Registry.

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