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
official dlf
intermediary net/minecraft/class_3150
named net/minecraft/world/gen/feature/RandomFeature
  • Constructor Details

    • RandomFeature

      public RandomFeature(com.mojang.serialization.Codec<RandomFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldkg;<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(FeatureContext<RandomFeatureConfig> context)
      Specified by:
      generate in class Feature<RandomFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldkg;a(Ldki;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z