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 ctx
intermediary net/minecraft/class_5730
named 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
ConstructorDescriptionSmallDripstoneFeature(com.mojang.serialization.Codec<SmallDripstoneFeatureConfig> configCodec)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
generate(FeatureContext<SmallDripstoneFeatureConfig> context)
private static boolean
generate(StructureWorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config)
private static boolean
generateDripstone(StructureWorldAccess world, Random random, BlockPos pos, Direction direction, SmallDripstoneFeatureConfig config)
private static void
generateDripstoneBlocks(StructureWorldAccess world, Random random, BlockPos pos)
private static BlockPos
randomPos(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;)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
- Specified by:
generate
in classFeature<SmallDripstoneFeatureConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcsf;a(Lcsg;)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
-
generate
private static boolean generate(StructureWorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config)- Mappings:
Namespace Name Mixin selector official a
Lctx;a(Lbxk;Ljava/util/Random;Lgg;Lcwh;)Z
intermediary method_33035
Lnet/minecraft/class_5730;method_33035(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_5733;)Z
named generate
Lnet/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 a
Lctx;a(Lbxk;Ljava/util/Random;Lgg;Lgl;Lcwh;)Z
intermediary method_33036
Lnet/minecraft/class_5730;method_33036(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_5733;)Z
named generateDripstone
Lnet/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 a
Lctx;a(Lbxk;Ljava/util/Random;Lgg;)V
intermediary method_33034
Lnet/minecraft/class_5730;method_33034(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)V
named generateDripstoneBlocks
Lnet/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 a
Lctx;a(Ljava/util/Random;Lgg;Lcwh;)Lgg;
intermediary method_33037
Lnet/minecraft/class_5730;method_33037(Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_5733;)Lnet/minecraft/class_2338;
named randomPos
Lnet/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;
-