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
official djx
intermediary net/minecraft/class_3805
named net/minecraft/world/gen/feature/BlockPileFeature
  • Constructor Details

    • BlockPileFeature

      public BlockPileFeature(com.mojang.serialization.Codec<BlockPileFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldko;<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> context)
      Specified by:
      generate in class Feature<BlockPileFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldko;a(Ldkq;)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
    • canPlace

      private boolean canPlace(WorldAccess world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjx;a(Lcmn;Lgu;Lapf;)Z
      intermediary method_16707 Lnet/minecraft/class_3805;method_16707(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      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
    • addPileBlock

      private void addPileBlock(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjx;a(Lcmn;Lgu;Lapf;Ldmk;)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
      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