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
(LevelAccessor p_190848_, BlockPos p_190849_, Direction p_190850_, int p_190851_, boolean p_190852_) 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_) static boolean
isNeitherEmptyNorWater
(BlockState p_203131_) protected static boolean
placeDripstoneBlockIfPossible
(LevelAccessor p_190854_, BlockPos p_190855_)
-
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(LevelAccessor p_190848_, BlockPos p_190849_, Direction p_190850_, int p_190851_, boolean p_190852_) -
placeDripstoneBlockIfPossible
-
createPointedDripstone
-
isDripstoneBaseOrLava
-
isDripstoneBase
-
isEmptyOrWater
-
isNeitherEmptyNorWater
-
isEmptyOrWaterOrLava
-