Class LargeDripstoneFeature.LargeDripstone
java.lang.Object
net.minecraft.world.level.levelgen.feature.LargeDripstoneFeature.LargeDripstone
- Enclosing class:
LargeDripstoneFeature
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLargeDripstone(BlockPos root, boolean pointingUp, int radius, double bluntness, double scale) -
Method Summary
Modifier and TypeMethodDescriptionprivate intprivate intgetHeightAtRadius(float checkRadius) private intgetMaxY()private intgetMinY()private booleanprivate booleanmoveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary(WorldGenLevel level, LargeDripstoneFeature.WindOffsetter wind) private voidplaceBlocks(WorldGenLevel level, RandomSource random, LargeDripstoneFeature.WindOffsetter wind)
-
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
private LargeDripstone(BlockPos root, boolean pointingUp, int radius, double bluntness, double scale)
-
-
Method Details
-
getHeight
private int getHeight() -
getMinY
private int getMinY() -
getMaxY
private int getMaxY() -
moveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary
private boolean moveBackUntilBaseIsInsideStoneAndShrinkRadiusIfNecessary(WorldGenLevel level, LargeDripstoneFeature.WindOffsetter wind) -
getHeightAtRadius
private int getHeightAtRadius(float checkRadius) -
placeBlocks
private void placeBlocks(WorldGenLevel level, RandomSource random, LargeDripstoneFeature.WindOffsetter wind) -
isSuitableForWind
-