Class LargeDripstoneFeature.LargeDripstone
java.lang.Object
net.minecraft.world.level.levelgen.feature.LargeDripstoneFeature.LargeDripstone
- Enclosing class:
LargeDripstoneFeature
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLargeDripstone(BlockPos pRoot, boolean pPointingUp, int pRadius, double pBluntness, double pScale) -
Method Summary
Modifier and TypeMethodDescriptionprivate intprivate intgetHeightAtRadius(float pRadius) private intgetMaxY()private intgetMinY()(package private) boolean(package private) booleanmoveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary(WorldGenLevel pLevel, LargeDripstoneFeature.WindOffsetter pWindOffsetter) (package private) voidplaceBlocks(WorldGenLevel pLevel, RandomSource pRandom, LargeDripstoneFeature.WindOffsetter pWindOffsetter)
-
Field Details
-
root
-
pointingUp
private final boolean pointingUp -
radius
private int radius -
bluntness
private final double bluntness -
scale
private final double scale
-
-
Constructor Details
-
LargeDripstone
LargeDripstone(BlockPos pRoot, boolean pPointingUp, int pRadius, double pBluntness, double pScale)
-
-
Method Details
-
getHeight
private int getHeight() -
getMinY
private int getMinY() -
getMaxY
private int getMaxY() -
moveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary
boolean moveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary(WorldGenLevel pLevel, LargeDripstoneFeature.WindOffsetter pWindOffsetter) -
getHeightAtRadius
private int getHeightAtRadius(float pRadius) -
placeBlocks
void placeBlocks(WorldGenLevel pLevel, RandomSource pRandom, LargeDripstoneFeature.WindOffsetter pWindOffsetter) -
isSuitableForWind
-