Class FeatureUtils
java.lang.Object
net.minecraft.data.worldgen.features.FeatureUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bootstrap
(BootstrapContext<ConfiguredFeature<?, ?>> p_331696_) static ResourceKey
<ConfiguredFeature<?, ?>> static <FC extends FeatureConfiguration,
F extends Feature<FC>>
voidregister
(BootstrapContext<ConfiguredFeature<?, ?>> p_330706_, ResourceKey<ConfiguredFeature<?, ?>> p_255983_, F p_255949_, FC p_256398_) static void
register
(BootstrapContext<ConfiguredFeature<?, ?>> p_331914_, ResourceKey<ConfiguredFeature<?, ?>> p_256555_, Feature<NoneFeatureConfiguration> p_255921_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
RandomPatchConfigurationsimplePatchConfiguration
(F p_206474_, FC p_206475_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
RandomPatchConfigurationsimplePatchConfiguration
(F p_206477_, FC p_206478_, List<Block> p_206479_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
RandomPatchConfigurationsimplePatchConfiguration
(F p_206481_, FC p_206482_, List<Block> p_206483_, int p_206484_) private static BlockPredicate
simplePatchPredicate
(List<Block> p_195009_) static RandomPatchConfiguration
simpleRandomPatchConfiguration
(int p_206471_, Holder<PlacedFeature> p_206472_)
-
Constructor Details
-
FeatureUtils
public FeatureUtils()
-
-
Method Details
-
bootstrap
-
simplePatchPredicate
-
simpleRandomPatchConfiguration
public static RandomPatchConfiguration simpleRandomPatchConfiguration(int p_206471_, Holder<PlacedFeature> p_206472_) -
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F p_206481_, FC p_206482_, List<Block> p_206483_, int p_206484_) -
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F p_206477_, FC p_206478_, List<Block> p_206479_) -
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F p_206474_, FC p_206475_) -
createKey
-
register
public static void register(BootstrapContext<ConfiguredFeature<?, ?>> p_331914_, ResourceKey<ConfiguredFeature<?, ?>> p_256555_, Feature<NoneFeatureConfiguration> p_255921_) -
register
public static <FC extends FeatureConfiguration,F extends Feature<FC>> void register(BootstrapContext<ConfiguredFeature<?, ?>> p_330706_, ResourceKey<ConfiguredFeature<?, ?>> p_255983_, F p_255949_, FC p_256398_)
-