Class DripstoneHelper

java.lang.Object
net.minecraft.world.gen.feature.util.DripstoneHelper

public class DripstoneHelper
extends Object
  • Constructor Details

    • DripstoneHelper

      public DripstoneHelper()
  • Method Details

    • scaleHeightFromRadius

      protected static double scaleHeightFromRadius​(double radius, double scale, double heightScale, double bluntness)
    • canGenerateBase

      protected static boolean canGenerateBase​(StructureWorldAccess world, BlockPos pos, int height)
    • canGenerate

      protected static boolean canGenerate​(WorldAccess world, BlockPos pos)
    • getDripstoneThickness

      protected static void getDripstoneThickness​(Direction direction, int height, boolean merge, Consumer<BlockState> callback)
    • generatePointedDripstone

      protected static void generatePointedDripstone​(StructureWorldAccess world, BlockPos pos, Direction direction, int height, boolean merge)
    • generateDripstoneBlock

      protected static boolean generateDripstoneBlock​(StructureWorldAccess world, BlockPos pos)
    • getState

      private static BlockState getState​(Direction direction, Thickness thickness)
    • canReplace

      public static boolean canReplace​(BlockState state)
    • canGenerate

      public static boolean canGenerate​(BlockState state)