Class AbstractPileFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<BlockPileFeatureConfig>
net.minecraft.world.gen.feature.AbstractPileFeature

public class AbstractPileFeature
extends Feature<BlockPileFeatureConfig>
Mappings:
Namespace Name
official cns
intermediary net/minecraft/class_3805
named net/minecraft/world/gen/feature/AbstractPileFeature
  • Constructor Details

    • AbstractPileFeature

      public AbstractPileFeature​(com.mojang.serialization.Codec<BlockPileFeatureConfig> 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

    • generate

      public boolean generate​(FeatureContext<BlockPileFeatureConfig> featureContext)
      Specified by:
      generate in class Feature<BlockPileFeatureConfig>
      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
    • canPlacePileBlock

      private boolean canPlacePileBlock​(WorldAccess world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcns;a(Lbtw;Lfx;Ljava/util/Random;)Z
      intermediary method_16707 Lnet/minecraft/class_3805;method_16707(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
      named canPlacePileBlock Lnet/minecraft/world/gen/feature/AbstractPileFeature;canPlacePileBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
    • addPileBlock

      private void addPileBlock​(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Lcns;a(Lbtw;Lfx;Ljava/util/Random;Lcra;)V
      intermediary method_16708 Lnet/minecraft/class_3805;method_16708(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;Lnet/minecraft/class_4634;)V
      named addPileBlock Lnet/minecraft/world/gen/feature/AbstractPileFeature;addPileBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;Lnet/minecraft/world/gen/feature/BlockPileFeatureConfig;)V