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
named net/minecraft/world/gen/feature/RandomBooleanFeature
intermediary net/minecraft/class_3135
official ecx
  • Constructor Details

    • RandomBooleanFeature

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

    • generate

      public boolean generate(FeatureContext<RandomBooleanFeatureConfig> context)
      Specified by:
      generate in class Feature<RandomBooleanFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      official a Leca;a(Lecc;)Z