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 dcf
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> 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

    • generate

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

      private boolean canPlace(WorldAccess world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcf;a(Lcgb;Lgt;Lalu;)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 Ldcf;a(Lcgb;Lgt;Lalu;Ldes;)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