Class HugeMushroomFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<HugeMushroomFeatureConfig>
net.minecraft.world.gen.feature.HugeMushroomFeature
Direct Known Subclasses:
HugeBrownMushroomFeature, HugeRedMushroomFeature

public abstract class HugeMushroomFeature
extends Feature<HugeMushroomFeatureConfig>
Mappings:
Namespace Name
official cnl
intermediary net/minecraft/class_4625
named net/minecraft/world/gen/feature/HugeMushroomFeature
  • Constructor Details

    • HugeMushroomFeature

      public HugeMushroomFeature​(com.mojang.serialization.Codec<HugeMushroomFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcoq;<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

    • generateStem

      protected void generateStem​(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutable)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a(Lbtw;Ljava/util/Random;Lfx;Lcrn;ILfx$a;)V
      intermediary method_23376 Lnet/minecraft/class_4625;method_23376(Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4635;ILnet/minecraft/class_2338$class_2339;)V
      named generateStem Lnet/minecraft/world/gen/feature/HugeMushroomFeature;generateStem(Lnet/minecraft/world/WorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/HugeMushroomFeatureConfig;ILnet/minecraft/util/math/BlockPos$Mutable;)V
    • getHeight

      protected int getHeight​(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a(Ljava/util/Random;)I
      intermediary method_23377 Lnet/minecraft/class_4625;method_23377(Ljava/util/Random;)I
      named getHeight Lnet/minecraft/world/gen/feature/HugeMushroomFeature;getHeight(Ljava/util/Random;)I
    • canGenerate

      protected boolean canGenerate​(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a(Lbtw;Lfx;ILfx$a;Lcrn;)Z
      intermediary method_23374 Lnet/minecraft/class_4625;method_23374(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)Z
      named canGenerate Lnet/minecraft/world/gen/feature/HugeMushroomFeature;canGenerate(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/world/gen/feature/HugeMushroomFeatureConfig;)Z
    • generate

      public boolean generate​(FeatureContext<HugeMushroomFeatureConfig> featureContext)
      Specified by:
      generate in class Feature<HugeMushroomFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcoq;a(Lcor;)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
    • getCapSize

      protected abstract int getCapSize​(int int2, int int3, int capSize, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a(IIII)I
      intermediary method_23372 Lnet/minecraft/class_4625;method_23372(IIII)I
      named getCapSize Lnet/minecraft/world/gen/feature/HugeMushroomFeature;getCapSize(IIII)I
    • generateCap

      protected abstract void generateCap​(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a(Lbtw;Ljava/util/Random;Lfx;ILfx$a;Lcrn;)V
      intermediary method_23375 Lnet/minecraft/class_4625;method_23375(Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)V
      named generateCap Lnet/minecraft/world/gen/feature/HugeMushroomFeature;generateCap(Lnet/minecraft/world/WorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/world/gen/feature/HugeMushroomFeatureConfig;)V