Class DripstoneUtils

java.lang.Object
net.minecraft.world.level.levelgen.feature.DripstoneUtils

public class DripstoneUtils extends Object
  • Constructor Details

    • DripstoneUtils

      public DripstoneUtils()
  • Method Details

    • getDripstoneHeight

      protected static double getDripstoneHeight(double pRadius, double pMaxRadius, double pScale, double pMinRadius)
      The formula used to control dripstone columns radius.
      See Also:
    • isCircleMostlyEmbeddedInStone

      protected static boolean isCircleMostlyEmbeddedInStone(WorldGenLevel pLevel, BlockPos pPos, int pRadius)
    • isEmptyOrWater

      protected static boolean isEmptyOrWater(LevelAccessor pLevel, BlockPos pPos)
    • isEmptyOrWaterOrLava

      protected static boolean isEmptyOrWaterOrLava(LevelAccessor pLevel, BlockPos pPos)
    • buildBaseToTipColumn

      protected static void buildBaseToTipColumn(Direction pDirection, int pHeight, boolean pMergeTip, Consumer<BlockState> pBlockSetter)
    • growPointedDripstone

      protected static void growPointedDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, int pHeight, boolean pMergeTip)
    • placeDripstoneBlockIfPossible

      protected static boolean placeDripstoneBlockIfPossible(LevelAccessor pLevel, BlockPos pPos)
    • createPointedDripstone

      private static BlockState createPointedDripstone(Direction pDirection, DripstoneThickness pDripstoneThickness)
    • isDripstoneBaseOrLava

      public static boolean isDripstoneBaseOrLava(BlockState pState)
    • isDripstoneBase

      public static boolean isDripstoneBase(BlockState pState)
    • isEmptyOrWater

      public static boolean isEmptyOrWater(BlockState p_159665_)
    • isNeitherEmptyNorWater

      public static boolean isNeitherEmptyNorWater(BlockState pState)
    • isEmptyOrWaterOrLava

      public static boolean isEmptyOrWaterOrLava(BlockState p_159667_)