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 int
private int
getHeightAtRadius
(float pRadius) private int
getMaxY()
private int
getMinY()
(package private) boolean
(package private) boolean
moveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary
(WorldGenLevel pLevel, LargeDripstoneFeature.WindOffsetter pWindOffsetter) (package private) void
placeBlocks
(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
-