Class BlockPileFeature

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

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

    • BlockPileFeature

      public BlockPileFeature(com.mojang.serialization.Codec<BlockPileFeatureConfig> 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> Lece;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • generate

      public boolean generate(FeatureContext<BlockPileFeatureConfig> context)
      Specified by:
      generate in class Feature<BlockPileFeatureConfig>
      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 Lece;a(Lecg;)Z
    • canPlace

      private boolean canPlace(WorldAccess world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named canPlace Lnet/minecraft/world/gen/feature/BlockPileFeature;canPlace(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_16707 Lnet/minecraft/class_3805;method_16707(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      official a Lebm;a(Ldcx;Ljd;Layw;)Z
    • addPileBlock

      private void addPileBlock(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      named addPileBlock Lnet/minecraft/world/gen/feature/BlockPileFeature;addPileBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/feature/BlockPileFeatureConfig;)V
      intermediary method_16708 Lnet/minecraft/class_3805;method_16708(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_4634;)V
      official a Lebm;a(Ldcx;Ljd;Layw;Leea;)V