Class FeatureUtils
java.lang.Object
net.minecraft.data.worldgen.features.FeatureUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bootstrap
(BootstapContext<ConfiguredFeature<?, ?>> p_255869_) static ResourceKey<ConfiguredFeature<?,
?>> static <FC extends FeatureConfiguration,
F extends Feature<FC>>
voidregister
(BootstapContext<ConfiguredFeature<?, ?>> p_256315_, ResourceKey<ConfiguredFeature<?, ?>> p_255983_, F p_255949_, FC p_256398_) static void
register
(BootstapContext<ConfiguredFeature<?, ?>> p_256637_, 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(BootstapContext<ConfiguredFeature<?, ?>> p_256637_, ResourceKey<ConfiguredFeature<?, ?>> p_256555_, Feature<NoneFeatureConfiguration> p_255921_) -
register
public static <FC extends FeatureConfiguration,F extends Feature<FC>> void register(BootstapContext<ConfiguredFeature<?, ?>> p_256315_, ResourceKey<ConfiguredFeature<?, ?>> p_255983_, F p_255949_, FC p_256398_)
-