Class ConfiguredFeatures

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

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

    • ConfiguredFeatures

      public ConfiguredFeatures()
  • Method Details

    • bootstrap

      public static void bootstrap(Registerable<ConfiguredFeature<?,?>> featureRegisterable)
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Lnr;)V
      intermediary method_39702 Lnet/minecraft/class_6803;method_39702(Lnet/minecraft/class_7891;)V
      named bootstrap Lnet/minecraft/world/gen/feature/ConfiguredFeatures;bootstrap(Lnet/minecraft/registry/Registerable;)V
    • createBlockPredicate

      private static BlockPredicate createBlockPredicate(List<Block> validGround)
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/util/List;)Ldlz;
      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 Lor;a(ILhe;)Ldqn;
      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/registry/entry/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 Lor;a(Ldnw;Ldqa;Ljava/util/List;I)Ldqn;
      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 Lor;a(Ldnw;Ldqa;Ljava/util/List;)Ldqn;
      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 Lor;a(Ldnw;Ldqa;)Ldqn;
      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;
    • of

      public static RegistryKey<ConfiguredFeature<?,?>> of(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/lang/String;)Laev;
      intermediary method_46852 Lnet/minecraft/class_6803;method_46852(Ljava/lang/String;)Lnet/minecraft/class_5321;
      named of Lnet/minecraft/world/gen/feature/ConfiguredFeatures;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
    • register

      public static void register(Registerable<ConfiguredFeature<?,?>> registerable, RegistryKey<ConfiguredFeature<?,?>> key, Feature<DefaultFeatureConfig> feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Lnr;Laev;Ldnw;)V
      intermediary method_40364 Lnet/minecraft/class_6803;method_40364(Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_3031;)V
      named register Lnet/minecraft/world/gen/feature/ConfiguredFeatures;register(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/gen/feature/Feature;)V
    • register

      public static <FC extends FeatureConfig, F extends Feature<FC>> void register(Registerable<ConfiguredFeature<?,?>> registerable, RegistryKey<ConfiguredFeature<?,?>> key, F feature, FC config)
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Lnr;Laev;Ldnw;Ldqa;)V
      intermediary method_39708 Lnet/minecraft/class_6803;method_39708(Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)V
      named register Lnet/minecraft/world/gen/feature/ConfiguredFeatures;register(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;)V