Package net.minecraft.world.gen.feature
Class DripstoneClusterFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<DripstoneClusterFeatureConfig>
net.minecraft.world.gen.feature.DripstoneClusterFeature
- Mappings:
Namespace Name intermediary net/minecraft/class_5725official dkgnamed net/minecraft/world/gen/feature/DripstoneClusterFeature
-
Field Summary
Fields inherited from class net.minecraft.world.gen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_COLUMN, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DELTA_FEATURE, DESERT_WELL, DISK, DRIPSTONE_CLUSTER, END_GATEWAY, END_ISLAND, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GEODE, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, MULTIFACE_GROWTH, NETHER_FOREST_VEGETATION, NETHERRACK_REPLACE_BLOBS, NO_BONEMEAL_FLOWER, NO_OP, ORE, POINTED_DRIPSTONE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, REPLACE_SINGLE_BLOCK, ROOT_SYSTEM, SCATTERED_ORE, SCULK_PATCH, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING_FEATURE, TREE, TWISTING_VINES, UNDERWATER_MAGMA, VEGETATION_PATCH, VINES, VOID_START_PLATFORM, WATERLOGGED_VEGETATION_PATCH, WEEPING_VINES -
Constructor Summary
ConstructorsConstructorDescriptionDripstoneClusterFeature(com.mojang.serialization.Codec<DripstoneClusterFeatureConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanWaterSpawn(StructureWorldAccess world, BlockPos pos) private static floatclampedGaussian(Random random, float min, float max, float mean, float deviation) private doubledripstoneChance(int radiusX, int radiusZ, int localX, int localZ, DripstoneClusterFeatureConfig config) booleanprivate voidgenerate(StructureWorldAccess world, Random random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, DripstoneClusterFeatureConfig config) private intgetHeight(Random random, int localX, int localZ, float density, int height, DripstoneClusterFeatureConfig config) private booleanprivate booleanisStoneOrWater(WorldAccess world, BlockPos pos) private voidplaceDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction) Methods inherited from class net.minecraft.world.gen.feature.Feature
generateIfValid, getCodec, isExposedToAir, isSoil, isSoil, isStone, markBlocksAboveForPostProcessing, notInBlockTagPredicate, setBlockState, setBlockStateIf, testAdjacentStates
-
Constructor Details
-
DripstoneClusterFeature
public DripstoneClusterFeature(com.mojang.serialization.Codec<DripstoneClusterFeatureConfig> configCodec) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)Vofficial <init>Ldkl;<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<DripstoneClusterFeatureConfig>- Mappings:
Namespace Name Mixin selector intermediary method_13151Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Zofficial aLdkl;a(Ldkn;)Znamed generateLnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
-
generate
private void generate(StructureWorldAccess world, Random random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, DripstoneClusterFeatureConfig config) - Mappings:
Namespace Name Mixin selector intermediary method_33002Lnet/minecraft/class_5725;method_33002(Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;IIFDIFLnet/minecraft/class_5731;)Vofficial aLdkg;a(Lcne;Lapf;Lgu;IIFDIFLdmn;)Vnamed generateLnet/minecraft/world/gen/feature/DripstoneClusterFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;IIFDIFLnet/minecraft/world/gen/feature/DripstoneClusterFeatureConfig;)V
-
isLava
- Mappings:
Namespace Name Mixin selector intermediary method_33386Lnet/minecraft/class_5725;method_33386(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLdkg;a(Lcmn;Lgu;)Znamed isLavaLnet/minecraft/world/gen/feature/DripstoneClusterFeature;isLava(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
getHeight
private int getHeight(Random random, int localX, int localZ, float density, int height, DripstoneClusterFeatureConfig config) - Mappings:
Namespace Name Mixin selector intermediary method_33004Lnet/minecraft/class_5725;method_33004(Lnet/minecraft/class_5819;IIFILnet/minecraft/class_5731;)Iofficial aLdkg;a(Lapf;IIFILdmn;)Inamed getHeightLnet/minecraft/world/gen/feature/DripstoneClusterFeature;getHeight(Lnet/minecraft/util/math/random/Random;IIFILnet/minecraft/world/gen/feature/DripstoneClusterFeatureConfig;)I
-
canWaterSpawn
- Mappings:
Namespace Name Mixin selector intermediary method_33000Lnet/minecraft/class_5725;method_33000(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Zofficial bLdkg;b(Lcne;Lgu;)Znamed canWaterSpawnLnet/minecraft/world/gen/feature/DripstoneClusterFeature;canWaterSpawn(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
isStoneOrWater
- Mappings:
Namespace Name Mixin selector intermediary method_32998Lnet/minecraft/class_5725;method_32998(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Zofficial aLdkg;a(Lcml;Lgu;)Znamed isStoneOrWaterLnet/minecraft/world/gen/feature/DripstoneClusterFeature;isStoneOrWater(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
placeDripstoneBlocks
private void placeDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction) - Mappings:
Namespace Name Mixin selector intermediary method_33001Lnet/minecraft/class_5725;method_33001(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;ILnet/minecraft/class_2350;)Vofficial aLdkg;a(Lcne;Lgu;ILha;)Vnamed placeDripstoneBlocksLnet/minecraft/world/gen/feature/DripstoneClusterFeature;placeDripstoneBlocks(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/Direction;)V
-
dripstoneChance
private double dripstoneChance(int radiusX, int radiusZ, int localX, int localZ, DripstoneClusterFeatureConfig config) - Mappings:
Namespace Name Mixin selector intermediary method_32997Lnet/minecraft/class_5725;method_32997(IIIILnet/minecraft/class_5731;)Dofficial aLdkg;a(IIIILdmn;)Dnamed dripstoneChanceLnet/minecraft/world/gen/feature/DripstoneClusterFeature;dripstoneChance(IIIILnet/minecraft/world/gen/feature/DripstoneClusterFeatureConfig;)D
-
clampedGaussian
private static float clampedGaussian(Random random, float min, float max, float mean, float deviation) - Mappings:
Namespace Name Mixin selector intermediary method_33003Lnet/minecraft/class_5725;method_33003(Lnet/minecraft/class_5819;FFFF)Fofficial aLdkg;a(Lapf;FFFF)Fnamed clampedGaussianLnet/minecraft/world/gen/feature/DripstoneClusterFeature;clampedGaussian(Lnet/minecraft/util/math/random/Random;FFFF)F
-