Class DarkOakFoliagePlacer
java.lang.Object
com.github.darksoulq.abyssallib.world.gen.feature.tree.foliage.FoliagePlacer
com.github.darksoulq.abyssallib.world.gen.feature.tree.foliage.DarkOakFoliagePlacer
A standard foliage placer explicitly designed to generate the iconic thick,
layered cuboid canopy footprint associated strictly with Dark Oak tree typologies.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec<DarkOakFoliagePlacer> The designated codec instance responsible for serializing and deserializing the state variables of this placer.static final FoliagePlacerType<DarkOakFoliagePlacer> The globally registered type definition representing the dark oak foliage placer. -
Constructor Summary
ConstructorsConstructorDescriptionDarkOakFoliagePlacer(int radius) Constructs a new dark oak foliage placement generator bound by a structural radius parameter. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Retrieves the formalized registry definition cleanly categorizing this placer structure.voidplaceFoliage(WorldGenAccess level, Random random, org.bukkit.Location attachmentPoint, BlockStateProvider foliageProvider, int radiusOffset) Executes the procedural logic shaping thick cubic foliage discs radiating precisely from the attachment core.
-
Field Details
-
CODEC
The designated codec instance responsible for serializing and deserializing the state variables of this placer. -
TYPE
The globally registered type definition representing the dark oak foliage placer.
-
-
Constructor Details
-
DarkOakFoliagePlacer
public DarkOakFoliagePlacer(int radius) Constructs a new dark oak foliage placement generator bound by a structural radius parameter.- Parameters:
radius- The fundamental mathematical limit bounding lateral canopy growth computations.
-
-
Method Details
-
placeFoliage
public void placeFoliage(WorldGenAccess level, Random random, org.bukkit.Location attachmentPoint, BlockStateProvider foliageProvider, int radiusOffset) Executes the procedural logic shaping thick cubic foliage discs radiating precisely from the attachment core.- Specified by:
placeFoliagein classFoliagePlacer- Parameters:
level- The secure world generation interface context.random- The deterministic random source controlling probabilistic bounds.attachmentPoint- The central trunk coordinate structurally anchoring the canopy iteration limits.foliageProvider- The block state provider feeding environmental configurations structurally.radiusOffset- The dynamic additive modifier actively extending or retracting the baseline calculation.
-
getType
Retrieves the formalized registry definition cleanly categorizing this placer structure.- Specified by:
getTypein classFoliagePlacer- Returns:
- The specific placer type enumeration mapping natively evaluated mechanically.
-