Class FossilFeature
java.lang.Object
com.github.darksoulq.abyssallib.world.gen.feature.Feature<FossilFeature.Config>
com.github.darksoulq.abyssallib.world.gen.feature.impl.FossilFeature
A world generation feature that generates a contiguous, noise-driven blob of blocks.
Evaluates 3D Simplex Noise within a spherical bounding box to carve out solid, randomized organic structures like ancient fossils, meteorite chunks, or massive corrupted root systems.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordConfiguration record for the fossil feature. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new FossilFeature with its associated configuration codec. -
Method Summary
Modifier and TypeMethodDescriptiongetPhase(FossilFeature.Config config) Specifies the procedural generation phase in which this feature executes.booleanplace(FeaturePlaceContext<FossilFeature.Config> context) Executes the placement logic by evaluating 3D noise across the defined spherical volume.
-
Constructor Details
-
FossilFeature
public FossilFeature()Constructs a new FossilFeature with its associated configuration codec.
-
-
Method Details
-
place
Executes the placement logic by evaluating 3D noise across the defined spherical volume.- Specified by:
placein classFeature<FossilFeature.Config>- Parameters:
context- The feature place context providing world access and configuration.- Returns:
- True if at least one block was successfully placed.
-
getPhase
Specifies the procedural generation phase in which this feature executes.- Overrides:
getPhasein classFeature<FossilFeature.Config>- Returns:
- The UNDERGROUND_STRUCTURES generation phase.
-