Class FeatureUtils
java.lang.Object
net.minecraft.data.worldgen.features.FeatureUtils
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidbootstrap(BootstrapContext<ConfiguredFeature<?, ?>> pContext) static ResourceKey<ConfiguredFeature<?, ?>> static <FC extends FeatureConfiguration,F extends Feature<FC>> 
voidregister(BootstrapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, F pFeature, FC pConfig) static voidregister(BootstrapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, Feature<NoneFeatureConfiguration> pFeature) static <FC extends FeatureConfiguration,F extends Feature<FC>> 
RandomPatchConfigurationsimplePatchConfiguration(F pFeature, FC pConfig) static <FC extends FeatureConfiguration,F extends Feature<FC>> 
RandomPatchConfigurationsimplePatchConfiguration(F pFeature, FC pConfig, List<Block> pBlocks) static <FC extends FeatureConfiguration,F extends Feature<FC>> 
RandomPatchConfigurationsimplePatchConfiguration(F pFeature, FC pConfig, List<Block> pBlocks, int pTries) private static BlockPredicatesimplePatchPredicate(List<Block> pBlocks) static RandomPatchConfigurationsimpleRandomPatchConfiguration(int pTries, Holder<PlacedFeature> pFeature)  
- 
Constructor Details
- 
FeatureUtils
public FeatureUtils() 
 - 
 - 
Method Details
- 
bootstrap
 - 
simplePatchPredicate
 - 
simpleRandomPatchConfiguration
public static RandomPatchConfiguration simpleRandomPatchConfiguration(int pTries, Holder<PlacedFeature> pFeature)  - 
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F pFeature, FC pConfig, List<Block> pBlocks, int pTries)  - 
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F pFeature, FC pConfig, List<Block> pBlocks)  - 
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F pFeature, FC pConfig)  - 
createKey
 - 
register
public static void register(BootstrapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, Feature<NoneFeatureConfiguration> pFeature)  - 
register
public static <FC extends FeatureConfiguration,F extends Feature<FC>> void register(BootstrapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, F pFeature, FC pConfig)  
 -