类 FeatureUtils
java.lang.Object
net.minecraft.data.worldgen.features.FeatureUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
bootstrap
(BootstapContext<ConfiguredFeature<?, ?>> pContext) static ResourceKey<ConfiguredFeature<?,
?>> static <FC extends FeatureConfiguration,
F extends Feature<FC>>
voidregister
(BootstapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, F pFeature, FC pConfig) static void
register
(BootstapContext<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 BlockPredicate
simplePatchPredicate
(List<Block> pBlocks) static RandomPatchConfiguration
simpleRandomPatchConfiguration
(int pTries, Holder<PlacedFeature> pFeature)
-
构造器详细资料
-
FeatureUtils
public FeatureUtils()
-
-
方法详细资料
-
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(BootstapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, Feature<NoneFeatureConfiguration> pFeature) -
register
public static <FC extends FeatureConfiguration,F extends Feature<FC>> void register(BootstapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, F pFeature, FC pConfig)
-