Class DripstoneClusterFeature
java.lang.Object
com.github.darksoulq.abyssallib.world.gen.feature.Feature<DripstoneClusterFeature.Config>
com.github.darksoulq.abyssallib.world.gen.feature.impl.DripstoneClusterFeature
A world generation feature that creates varied clusters of vertical pillars,
simulating stalactites and stalagmites.
This feature randomly places multiple pillars within a defined horizontal radius. The length of each pillar decreases naturally as it approaches the outer edges of the radius, creating an organic cluster shape.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordConfiguration record for the dripstone cluster feature. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new DripstoneClusterFeature with its associated configuration codec. -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the procedural generation phase in which this feature executes.booleanExecutes the logic for clustering varying-length pillars around the origin.
-
Constructor Details
-
DripstoneClusterFeature
public DripstoneClusterFeature()Constructs a new DripstoneClusterFeature with its associated configuration codec.
-
-
Method Details
-
place
Executes the logic for clustering varying-length pillars around the origin.- Specified by:
placein classFeature<DripstoneClusterFeature.Config>- Parameters:
context- The feature place context providing world access and configuration.- Returns:
- True if at least one column within the cluster was successfully placed.
-
getPhase
Specifies the procedural generation phase in which this feature executes.- Overrides:
getPhasein classFeature<DripstoneClusterFeature.Config>- Returns:
- The UNDERGROUND_DECORATION generation phase.
-