Class DripstoneUtils
java.lang.Object
net.minecraft.world.level.levelgen.feature.DripstoneUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
buildBaseToTipColumn(Direction p_159652_, int p_159653_, boolean p_159654_, Consumer<BlockState> p_159655_)
private static BlockState
createPointedDripstone(Direction p_159657_, DripstoneThickness p_159658_)
protected static double
getDripstoneHeight(double p_159624_, double p_159625_, double p_159626_, double p_159627_)
protected static void
growPointedDripstone(WorldGenLevel p_159644_, BlockPos p_159645_, Direction p_159646_, int p_159647_, boolean p_159648_)
protected static boolean
isCircleMostlyEmbeddedInStone(WorldGenLevel p_159640_, BlockPos p_159641_, int p_159642_)
static boolean
isDripstoneBase(BlockState p_159663_)
static boolean
isDripstoneBaseOrLava(BlockState p_159650_)
static boolean
isEmptyOrWater(BlockState p_159665_)
protected static boolean
isEmptyOrWater(LevelAccessor p_159629_, BlockPos p_159630_)
static boolean
isEmptyOrWaterOrLava(BlockState p_159667_)
protected static boolean
isEmptyOrWaterOrLava(LevelAccessor p_159660_, BlockPos p_159661_)
protected static boolean
placeDripstoneBlockIfPossible(WorldGenLevel p_159637_, BlockPos p_159638_)
-
Constructor Details
-
DripstoneUtils
public DripstoneUtils()
-
-
Method Details
-
getDripstoneHeight
protected static double getDripstoneHeight(double p_159624_, double p_159625_, double p_159626_, double p_159627_) -
isCircleMostlyEmbeddedInStone
protected static boolean isCircleMostlyEmbeddedInStone(WorldGenLevel p_159640_, BlockPos p_159641_, int p_159642_) -
isEmptyOrWater
-
isEmptyOrWaterOrLava
-
buildBaseToTipColumn
protected static void buildBaseToTipColumn(Direction p_159652_, int p_159653_, boolean p_159654_, Consumer<BlockState> p_159655_) -
growPointedDripstone
protected static void growPointedDripstone(WorldGenLevel p_159644_, BlockPos p_159645_, Direction p_159646_, int p_159647_, boolean p_159648_) -
placeDripstoneBlockIfPossible
protected static boolean placeDripstoneBlockIfPossible(WorldGenLevel p_159637_, BlockPos p_159638_) -
createPointedDripstone
private static BlockState createPointedDripstone(Direction p_159657_, DripstoneThickness p_159658_) -
isDripstoneBaseOrLava
-
isDripstoneBase
-
isEmptyOrWater
-
isEmptyOrWaterOrLava
-