Package net.minecraft.world.gen.feature
Class SmallDripstoneFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<SmallDripstoneFeatureConfig>
net.minecraft.world.gen.feature.SmallDripstoneFeature
- Mappings:
Namespace Name official ctxintermediary net/minecraft/class_5730named net/minecraft/world/gen/feature/SmallDripstoneFeature
-
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, 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, REPLACE_SINGLE_BLOCK, 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 -
Constructor Summary
ConstructorsConstructorDescriptionSmallDripstoneFeature(com.mojang.serialization.Codec<SmallDripstoneFeatureConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerate(FeatureContext<SmallDripstoneFeatureConfig> context)private static booleangenerate(StructureWorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config)private static booleangenerateDripstone(StructureWorldAccess world, Random random, BlockPos pos, Direction direction, SmallDripstoneFeatureConfig config)private static voidgenerateDripstoneBlocks(StructureWorldAccess world, Random random, BlockPos pos)private static BlockPosrandomPos(Random random, BlockPos pos, SmallDripstoneFeatureConfig config)Methods inherited from class net.minecraft.world.gen.feature.Feature
configure, getCodec, isAir, isExposedToAir, isSoil, isSoil, isStone, method_37256, notInBlockTagPredicate, setBlockState, setBlockStateIf, testAdjacentStates
-
Constructor Details
-
SmallDripstoneFeature
public SmallDripstoneFeature(com.mojang.serialization.Codec<SmallDripstoneFeatureConfig> configCodec)- Mappings:
Namespace Name Mixin selector official <init>Lcsf;<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
- Specified by:
generatein classFeature<SmallDripstoneFeatureConfig>- Mappings:
Namespace Name Mixin selector official aLcsf;a(Lcsg;)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
-
generate
private static boolean generate(StructureWorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config)- Mappings:
Namespace Name Mixin selector official aLctx;a(Lbxk;Ljava/util/Random;Lgg;Lcwh;)Zintermediary method_33035Lnet/minecraft/class_5730;method_33035(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_5733;)Znamed generateLnet/minecraft/world/gen/feature/SmallDripstoneFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/SmallDripstoneFeatureConfig;)Z
-
generateDripstone
private static boolean generateDripstone(StructureWorldAccess world, Random random, BlockPos pos, Direction direction, SmallDripstoneFeatureConfig config)- Mappings:
Namespace Name Mixin selector official aLctx;a(Lbxk;Ljava/util/Random;Lgg;Lgl;Lcwh;)Zintermediary method_33036Lnet/minecraft/class_5730;method_33036(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_5733;)Znamed generateDripstoneLnet/minecraft/world/gen/feature/SmallDripstoneFeature;generateDripstone(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/gen/feature/SmallDripstoneFeatureConfig;)Z
-
generateDripstoneBlocks
private static void generateDripstoneBlocks(StructureWorldAccess world, Random random, BlockPos pos)- Mappings:
Namespace Name Mixin selector official aLctx;a(Lbxk;Ljava/util/Random;Lgg;)Vintermediary method_33034Lnet/minecraft/class_5730;method_33034(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)Vnamed generateDripstoneBlocksLnet/minecraft/world/gen/feature/SmallDripstoneFeature;generateDripstoneBlocks(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-
randomPos
- Mappings:
Namespace Name Mixin selector official aLctx;a(Ljava/util/Random;Lgg;Lcwh;)Lgg;intermediary method_33037Lnet/minecraft/class_5730;method_33037(Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_5733;)Lnet/minecraft/class_2338;named randomPosLnet/minecraft/world/gen/feature/SmallDripstoneFeature;randomPos(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/SmallDripstoneFeatureConfig;)Lnet/minecraft/util/math/BlockPos;
-