Class RandomBooleanFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<RandomBooleanFeatureConfig>
net.minecraft.world.gen.feature.RandomBooleanFeature

public class RandomBooleanFeature
extends Feature<RandomBooleanFeatureConfig>
Mappings:
Namespace Name
official cpa
intermediary net/minecraft/class_3135
named net/minecraft/world/gen/feature/RandomBooleanFeature
  • Constructor Details

    • RandomBooleanFeature

      public RandomBooleanFeature​(com.mojang.serialization.Codec<RandomBooleanFeatureConfig> 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, RandomBooleanFeatureConfig randomBooleanFeatureConfig)
      Specified by:
      generate in class Feature<RandomBooleanFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a(Lbup;Lciz;Ljava/util/Random;Lfx;Lcrf;)Z
      intermediary method_13679 Lnet/minecraft/class_3135;method_13679(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3137;)Z
      named generate Lnet/minecraft/world/gen/feature/RandomBooleanFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/RandomBooleanFeatureConfig;)Z