Class RandomFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<RandomFeatureConfig>
net.minecraft.world.gen.feature.RandomFeature

public class RandomFeature extends Feature<RandomFeatureConfig>
Mappings:
Namespace Name
named net/minecraft/world/gen/feature/RandomFeature
intermediary net/minecraft/class_3150
official eby
  • Constructor Details

    • RandomFeature

      public RandomFeature(com.mojang.serialization.Codec<RandomFeatureConfig> 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> Leaz;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • generate

      public boolean generate(FeatureContext<RandomFeatureConfig> context)
      Specified by:
      generate in class Feature<RandomFeatureConfig>
      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 Leaz;a(Lebb;)Z