Class RandomPatchFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<RandomPatchFeatureConfig>
net.minecraft.world.gen.feature.RandomPatchFeature

public class RandomPatchFeature
extends Feature<RandomPatchFeatureConfig>
Mappings:
Namespace Name
official cpb
intermediary net/minecraft/class_4628
named net/minecraft/world/gen/feature/RandomPatchFeature
  • Constructor Details

    • RandomPatchFeature

      public RandomPatchFeature​(com.mojang.serialization.Codec<RandomPatchFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnx;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • generate

      public boolean generate​(StructureWorldAccess structureWorldAccess, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
      Specified by:
      generate in class Feature<RandomPatchFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcpb;a(Lbup;Lciz;Ljava/util/Random;Lfx;Lcrh;)Z
      intermediary method_23401 Lnet/minecraft/class_4628;method_23401(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4638;)Z
      named generate Lnet/minecraft/world/gen/feature/RandomPatchFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/RandomPatchFeatureConfig;)Z