Class DripstoneClusterFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<DripstoneClusterFeatureConfig>
net.minecraft.world.gen.feature.DripstoneClusterFeature

public class DripstoneClusterFeature extends Feature<DripstoneClusterFeatureConfig>
Mappings:
Namespace Name
official dkj
intermediary net/minecraft/class_5725
named net/minecraft/world/gen/feature/DripstoneClusterFeature
  • Constructor Details

    • DripstoneClusterFeature

      public DripstoneClusterFeature(com.mojang.serialization.Codec<DripstoneClusterFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldko;<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

      public boolean generate(FeatureContext<DripstoneClusterFeatureConfig> context)
      Specified by:
      generate in class Feature<DripstoneClusterFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldko;a(Ldkq;)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 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
      official a Ldkj;a(Lcng;Lapf;Lgu;IIFDIFLdmq;)V
      intermediary method_33002 Lnet/minecraft/class_5725;method_33002(Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;IIFDIFLnet/minecraft/class_5731;)V
      named generate Lnet/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

      private boolean isLava(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkj;a(Lcmp;Lgu;)Z
      intermediary method_33386 Lnet/minecraft/class_5725;method_33386(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named isLava Lnet/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
      official a Ldkj;a(Lapf;IIFILdmq;)I
      intermediary method_33004 Lnet/minecraft/class_5725;method_33004(Lnet/minecraft/class_5819;IIFILnet/minecraft/class_5731;)I
      named getHeight Lnet/minecraft/world/gen/feature/DripstoneClusterFeature;getHeight(Lnet/minecraft/util/math/random/Random;IIFILnet/minecraft/world/gen/feature/DripstoneClusterFeatureConfig;)I
    • canWaterSpawn

      private boolean canWaterSpawn(StructureWorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldkj;b(Lcng;Lgu;)Z
      intermediary method_33000 Lnet/minecraft/class_5725;method_33000(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      named canWaterSpawn Lnet/minecraft/world/gen/feature/DripstoneClusterFeature;canWaterSpawn(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • isStoneOrWater

      private boolean isStoneOrWater(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkj;a(Lcmn;Lgu;)Z
      intermediary method_32998 Lnet/minecraft/class_5725;method_32998(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
      named isStoneOrWater Lnet/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
      official a Ldkj;a(Lcng;Lgu;ILha;)V
      intermediary method_33001 Lnet/minecraft/class_5725;method_33001(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;ILnet/minecraft/class_2350;)V
      named placeDripstoneBlocks Lnet/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
      official a Ldkj;a(IIIILdmq;)D
      intermediary method_32997 Lnet/minecraft/class_5725;method_32997(IIIILnet/minecraft/class_5731;)D
      named dripstoneChance Lnet/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
      official a Ldkj;a(Lapf;FFFF)F
      intermediary method_33003 Lnet/minecraft/class_5725;method_33003(Lnet/minecraft/class_5819;FFFF)F
      named clampedGaussian Lnet/minecraft/world/gen/feature/DripstoneClusterFeature;clampedGaussian(Lnet/minecraft/util/math/random/Random;FFFF)F