类 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 cqdintermediary net/minecraft/class_3805named net/minecraft/world/gen/feature/BlockPileFeature
-
-
字段概要
-
从类继承的字段 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, GROWING_PLANT, 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, ORE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, ROOT_SYSTEM, SCATTERED_ORE, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SMALL_DRIPSTONE, SPRING_FEATURE, TREE, TWISTING_VINES, UNDERWATER_MAGMA, VEGETATION_PATCH, VINES, VOID_START_PLATFORM, WATERLOGGED_VEGETATION_PATCH, WEEPING_VINES
-
-
构造器概要
构造器 构造器 说明 BlockPileFeature(com.mojang.serialization.Codec<BlockPileFeatureConfig> configCodec)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidaddPileBlock(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config)private booleancanPlace(WorldAccess world, BlockPos pos, Random random)booleangenerate(FeatureContext<BlockPileFeatureConfig> context)-
从类继承的方法 net.minecraft.world.gen.feature.Feature
configure, getCodec, isAir, isExposedToAir, isSoil, isSoil, isStone, setBlockState, testAdjacentStates
-
-
-
-
构造器详细资料
-
BlockPileFeature
public BlockPileFeature(com.mojang.serialization.Codec<BlockPileFeatureConfig> configCodec)
- Mappings:
Namespace Name Mixin selector official <init>Lcra;<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
-
-
方法详细资料
-
generate
public boolean generate(FeatureContext<BlockPileFeatureConfig> context)
- 指定者:
generate在类中Feature<BlockPileFeatureConfig>- Mappings:
Namespace Name Mixin selector official aLcra;a(Lcrb;)Zintermediary method_13151Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Znamed generateLnet/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 aLcqd;a(Lbvs;Lgb;Ljava/util/Random;)Zintermediary method_16707Lnet/minecraft/class_3805;method_16707(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;)Znamed canPlaceLnet/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 aLcqd;a(Lbvs;Lgb;Ljava/util/Random;Lcts;)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/BlockPileFeature;addPileBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;Lnet/minecraft/world/gen/feature/BlockPileFeatureConfig;)V
-
-