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