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 cvg
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> Lcwb;<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 Lcwb;a(Lcwd;)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 Lcvg;a(Lbzx;Lgh;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 canPlace Lnet/minecraft/world/gen/feature/BlockPileFeature;canPlace(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 Lcvg;a(Lbzx;Lgh;Ljava/util/Random;Lcyn;)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/BlockPileFeature;addPileBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;Lnet/minecraft/world/gen/feature/BlockPileFeatureConfig;)V