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 dbz
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> Ldcw;<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 mutablePos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbz;a(Lcgb;Lalu;Lgt;Ldfc;ILgt$a;)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
      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
    • getHeight

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

      protected boolean canGenerate(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutablePos, HugeMushroomFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbz;a(Lcgb;Lgt;ILgt$a;Ldfc;)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> context)
      Specified by:
      generate in class Feature<HugeMushroomFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldcw;a(Ldcy;)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 Ldbz;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 Ldbz;a(Lcgb;Lalu;Lgt;ILgt$a;Ldfc;)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
      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