FeatureRegistry

Properties

Link copied to clipboard
abstract val addon: Addon

Functions

Link copied to clipboard
open fun <F : ConfiguredFeature<*, *>> configuredFeature(name: String, configuredFeature: F): ResourceKey<ConfiguredFeature<*, *>>
open fun <FC : FeatureConfiguration, F : Feature<FC>> configuredFeature(name: String, feature: F, config: FC): ResourceKey<ConfiguredFeature<*, *>>
Link copied to clipboard
open fun feature(name: String, feature: Feature<*>): ResourceKey<Feature<*>>
Link copied to clipboard
open fun placedFeature(name: String, placedFeature: PlacedFeatureBuilder.() -> Unit): ResourceKey<PlacedFeature>
Link copied to clipboard
open fun <P : PlacementModifier> placementModifierType(name: String, codec: MapCodec<P>): PlacementModifierType<P>
open fun <P : PlacementModifier> placementModifierType(name: String, placementModifierType: PlacementModifierType<P>): PlacementModifierType<P>