Package net.minecraft.world.gen.feature
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 cnaintermediary net/minecraft/class_3805named net/minecraft/world/gen/feature/AbstractPileFeature
-
Field Summary
Fields inherited from class net.minecraft.world.gen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DECORATED, DELTA_FEATURE, DESERT_WELL, DISK, DRIPSTONE_CLUSTER, EMERALD_ORE, END_GATEWAY, END_ISLAND, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GEODE, GLOW_LICHEN, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, NETHER_FOREST_VEGETATION, NETHERRACK_REPLACE_BLOBS, NO_BONEMEAL_FLOWER, NO_OP, NO_SURFACE_ORE, ORE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SMALL_DRIPSTONE, SPRING_FEATURE, TREE, TWISTING_VINES, VINES, VOID_START_PLATFORM, WEEPING_VINES -
Constructor Summary
Constructors Constructor Description AbstractPileFeature(com.mojang.serialization.Codec<BlockPileFeatureConfig> configCodec) -
Method Summary
Modifier and Type Method Description private voidaddPileBlock(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config)private booleancanPlacePileBlock(WorldAccess world, BlockPos pos, Random random)booleangenerate(StructureWorldAccess structureWorldAccess, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, BlockPileFeatureConfig blockPileFeatureConfig)
-
Constructor Details
-
AbstractPileFeature
- Mappings:
Namespace Name Mixin selector official <init>Lcnx;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
generate
public boolean generate(StructureWorldAccess structureWorldAccess, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, BlockPileFeatureConfig blockPileFeatureConfig)- Specified by:
generatein classFeature<BlockPileFeatureConfig>- Mappings:
Namespace Name Mixin selector official aLcna;a(Lbup;Lciz;Ljava/util/Random;Lfx;Lcqh;)Zintermediary method_16709Lnet/minecraft/class_3805;method_16709(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4634;)Znamed generateLnet/minecraft/world/gen/feature/AbstractPileFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/BlockPileFeatureConfig;)Z
-
canPlacePileBlock
- Mappings:
Namespace Name Mixin selector official aLcna;a(Lbtv;Lfx;Ljava/util/Random;)Zintermediary method_16707Lnet/minecraft/class_3805;method_16707(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;)Znamed canPlacePileBlockLnet/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 aLcna;a(Lbtv;Lfx;Ljava/util/Random;Lcqh;)Vintermediary method_16708Lnet/minecraft/class_3805;method_16708(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;Lnet/minecraft/class_4634;)Vnamed addPileBlockLnet/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
-