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
named net/minecraft/world/gen/feature/HugeMushroomFeature
intermediary net/minecraft/class_4625
official eac
  • Constructor Details

    • HugeMushroomFeature

      public HugeMushroomFeature(com.mojang.serialization.Codec<HugeMushroomFeatureConfig> 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

    • generateStem

      protected void generateStem(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutablePos)
      Mappings:
      Namespace Name Mixin selector
      named generateStem Lnet/minecraft/world/gen/feature/HugeMushroomFeature;generateStem(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/HugeMushroomFeatureConfig;ILnet/minecraft/util/math/BlockPos$Mutable;)V
      intermediary method_23376 Lnet/minecraft/class_4625;method_23376(Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_4635;ILnet/minecraft/class_2338$class_2339;)V
      official a Leac;a(Ldca;Lazh;Liz;Ledf;ILiz$a;)V
    • getHeight

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

      protected boolean canGenerate(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutablePos, HugeMushroomFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Leac;a(Ldca;Liz;ILiz$a;Ledf;)Z
    • generate

      public boolean generate(FeatureContext<HugeMushroomFeatureConfig> context)
      Specified by:
      generate in class Feature<HugeMushroomFeatureConfig>
      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
    • getCapSize

      protected abstract int getCapSize(int int2, int int3, int capSize, int y)
      Mappings:
      Namespace Name Mixin selector
      named getCapSize Lnet/minecraft/world/gen/feature/HugeMushroomFeature;getCapSize(IIII)I
      intermediary method_23372 Lnet/minecraft/class_4625;method_23372(IIII)I
      official a Leac;a(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
      named generateCap Lnet/minecraft/world/gen/feature/HugeMushroomFeature;generateCap(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/world/gen/feature/HugeMushroomFeatureConfig;)V
      intermediary method_23375 Lnet/minecraft/class_4625;method_23375(Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)V
      official a Leac;a(Ldca;Lazh;Liz;ILiz$a;Ledf;)V