FeatureRegistry

Properties

Link copied to clipboard
abstract val addon: Addon

Functions

Link copied to clipboard
open fun placedFeature(name: String, placedFeature: PlacedFeatureBuilder.() -> Unit): PlacedFeature
Link copied to clipboard
open fun <FC : FeatureConfiguration, F : Feature<FC>> registerConfiguredFeature(name: String, configuredFeature: ConfiguredFeature<FC, F>): ConfiguredFeature<FC, F>
open fun <FC : FeatureConfiguration, F : Feature<FC>> registerConfiguredFeature(name: String, feature: F, config: FC): ConfiguredFeature<FC, F>
Link copied to clipboard
open fun <FC : FeatureConfiguration> registerFeatureType(name: String, feature: FeatureType<FC>): FeatureType<FC>
Link copied to clipboard
open fun registerPlacedFeature(name: String, placedFeature: PlacedFeature): PlacedFeature
open fun registerPlacedFeature(name: String, config: ConfiguredFeature<*, *>, vararg modifiers: PlacementModifier): PlacedFeature
open fun registerPlacedFeature(name: String, config: ConfiguredFeature<*, *>, modifiers: List<PlacementModifier>): PlacedFeature
Link copied to clipboard
open fun <P : PlacementModifier> registerPlacementModifierType(name: String, codec: MapCodec<P>): PlacementModifierType<P>
open fun <P : PlacementModifier> registerPlacementModifierType(name: String, placementModifierType: PlacementModifierType<P>): PlacementModifierType<P>