类 DripstoneUtils
java.lang.Object
net.minecraft.world.level.levelgen.feature.DripstoneUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected static void
buildBaseToTipColumn
(Direction pDirection, int pHeight, boolean pMergeTip, Consumer<BlockState> pBlockSetter) private static BlockState
createPointedDripstone
(Direction pDirection, DripstoneThickness pDripstoneThickness) protected static double
getDripstoneHeight
(double pRadius, double pMaxRadius, double pScale, double pMinRadius) protected static void
growPointedDripstone
(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, int pHeight, boolean pMergeTip) protected static boolean
isCircleMostlyEmbeddedInStone
(WorldGenLevel pLevel, BlockPos pPos, int pRadius) static boolean
isDripstoneBase
(BlockState pState) static boolean
isDripstoneBaseOrLava
(BlockState pState) static boolean
isEmptyOrWater
(BlockState p_159665_) protected static boolean
isEmptyOrWater
(LevelAccessor pLevel, BlockPos pPos) static boolean
isEmptyOrWaterOrLava
(BlockState p_159667_) protected static boolean
isEmptyOrWaterOrLava
(LevelAccessor pLevel, BlockPos pPos) static boolean
isNeitherEmptyNorWater
(BlockState pState) protected static boolean
placeDripstoneBlockIfPossible
(LevelAccessor pLevel, BlockPos pPos)
-
构造器详细资料
-
DripstoneUtils
public DripstoneUtils()
-
-
方法详细资料
-
getDripstoneHeight
protected static double getDripstoneHeight(double pRadius, double pMaxRadius, double pScale, double pMinRadius) -
isCircleMostlyEmbeddedInStone
protected static boolean isCircleMostlyEmbeddedInStone(WorldGenLevel pLevel, BlockPos pPos, int pRadius) -
isEmptyOrWater
-
isEmptyOrWaterOrLava
-
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
-
createPointedDripstone
private static BlockState createPointedDripstone(Direction pDirection, DripstoneThickness pDripstoneThickness) -
isDripstoneBaseOrLava
-
isDripstoneBase
-
isEmptyOrWater
-
isNeitherEmptyNorWater
-
isEmptyOrWaterOrLava
-