Class ConfiguredFeatures

java.lang.Object
net.minecraft.world.gen.feature.ConfiguredFeatures

public class ConfiguredFeatures extends Object
Mappings:
Namespace Name
official ne
intermediary net/minecraft/class_6803
named net/minecraft/world/gen/feature/ConfiguredFeatures
  • Constructor Details

    • ConfiguredFeatures

      public ConfiguredFeatures()
  • Method Details

    • getDefaultConfiguredFeature

      public static RegistryEntry<? extends ConfiguredFeature<?,?>> getDefaultConfiguredFeature(Registry<ConfiguredFeature<?,?>> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Lhm;)Lhc;
      intermediary method_39702 Lnet/minecraft/class_6803;method_39702(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6880;
      named getDefaultConfiguredFeature Lnet/minecraft/world/gen/feature/ConfiguredFeatures;getDefaultConfiguredFeature(Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/util/registry/RegistryEntry;
    • createBlockPredicate

      private static BlockPredicate createBlockPredicate(List<Block> validGround)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Ljava/util/List;)Ldbw;
      intermediary method_39709 Lnet/minecraft/class_6803;method_39709(Ljava/util/List;)Lnet/minecraft/class_6646;
      named createBlockPredicate Lnet/minecraft/world/gen/feature/ConfiguredFeatures;createBlockPredicate(Ljava/util/List;)Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
    • createRandomPatchFeatureConfig

      public static RandomPatchFeatureConfig createRandomPatchFeatureConfig(int tries, RegistryEntry<PlacedFeature> feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(ILhc;)Ldgk;
      intermediary method_39703 Lnet/minecraft/class_6803;method_39703(ILnet/minecraft/class_6880;)Lnet/minecraft/class_4638;
      named createRandomPatchFeatureConfig Lnet/minecraft/world/gen/feature/ConfiguredFeatures;createRandomPatchFeatureConfig(ILnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/world/gen/feature/RandomPatchFeatureConfig;
    • createRandomPatchFeatureConfig

      public static <FC extends FeatureConfig, F extends Feature<FC>> RandomPatchFeatureConfig createRandomPatchFeatureConfig(F feature, FC config, List<Block> predicateBlocks, int tries)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Lddt;Ldfx;Ljava/util/List;I)Ldgk;
      intermediary method_39706 Lnet/minecraft/class_6803;method_39706(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;Ljava/util/List;I)Lnet/minecraft/class_4638;
      named createRandomPatchFeatureConfig Lnet/minecraft/world/gen/feature/ConfiguredFeatures;createRandomPatchFeatureConfig(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;Ljava/util/List;I)Lnet/minecraft/world/gen/feature/RandomPatchFeatureConfig;
    • createRandomPatchFeatureConfig

      public static <FC extends FeatureConfig, F extends Feature<FC>> RandomPatchFeatureConfig createRandomPatchFeatureConfig(F feature, FC config, List<Block> predicateBlocks)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Lddt;Ldfx;Ljava/util/List;)Ldgk;
      intermediary method_39705 Lnet/minecraft/class_6803;method_39705(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;Ljava/util/List;)Lnet/minecraft/class_4638;
      named createRandomPatchFeatureConfig Lnet/minecraft/world/gen/feature/ConfiguredFeatures;createRandomPatchFeatureConfig(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;Ljava/util/List;)Lnet/minecraft/world/gen/feature/RandomPatchFeatureConfig;
    • createRandomPatchFeatureConfig

      public static <FC extends FeatureConfig, F extends Feature<FC>> RandomPatchFeatureConfig createRandomPatchFeatureConfig(F feature, FC config)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Lddt;Ldfx;)Ldgk;
      intermediary method_39704 Lnet/minecraft/class_6803;method_39704(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)Lnet/minecraft/class_4638;
      named createRandomPatchFeatureConfig Lnet/minecraft/world/gen/feature/ConfiguredFeatures;createRandomPatchFeatureConfig(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;)Lnet/minecraft/world/gen/feature/RandomPatchFeatureConfig;
    • register

      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Ljava/lang/String;Lddt;)Lhc;
      intermediary method_40364 Lnet/minecraft/class_6803;method_40364(Ljava/lang/String;Lnet/minecraft/class_3031;)Lnet/minecraft/class_6880;
      named register Lnet/minecraft/world/gen/feature/ConfiguredFeatures;register(Ljava/lang/String;Lnet/minecraft/world/gen/feature/Feature;)Lnet/minecraft/util/registry/RegistryEntry;
    • register

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<ConfiguredFeature<FC,?>> register(String id, F feature, FC config)
      Mappings:
      Namespace Name Mixin selector
      official a Lne;a(Ljava/lang/String;Lddt;Ldfx;)Lhc;
      intermediary method_39708 Lnet/minecraft/class_6803;method_39708(Ljava/lang/String;Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)Lnet/minecraft/class_6880;
      named register Lnet/minecraft/world/gen/feature/ConfiguredFeatures;register(Ljava/lang/String;Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;)Lnet/minecraft/util/registry/RegistryEntry;