Class SimpleRandomFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<SimpleRandomFeatureConfig>
net.minecraft.world.gen.feature.SimpleRandomFeature

public class SimpleRandomFeature
extends Feature<SimpleRandomFeatureConfig>
Mappings:
Namespace Name
official cpk
intermediary net/minecraft/class_3177
named net/minecraft/world/gen/feature/SimpleRandomFeature
  • Constructor Details

    • SimpleRandomFeature

      public SimpleRandomFeature​(com.mojang.serialization.Codec<SimpleRandomFeatureConfig> 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, SimpleRandomFeatureConfig simpleRandomFeatureConfig)
      Specified by:
      generate in class Feature<SimpleRandomFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcpk;a(Lbup;Lciz;Ljava/util/Random;Lfx;Lcro;)Z
      intermediary method_13953 Lnet/minecraft/class_3177;method_13953(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3179;)Z
      named generate Lnet/minecraft/world/gen/feature/SimpleRandomFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/SimpleRandomFeatureConfig;)Z