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

public class DarkOakFoliagePlacer extends FoliagePlacer
A standard foliage placer explicitly designed to generate the iconic thick, layered cuboid canopy footprint associated strictly with Dark Oak tree typologies.
  • Field Details

    • CODEC

      public static final Codec<DarkOakFoliagePlacer> CODEC
      The designated codec instance responsible for serializing and deserializing the state variables of this placer.
    • TYPE

      public static final FoliagePlacerType<DarkOakFoliagePlacer> 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:
      placeFoliage in class FoliagePlacer
      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

      public FoliagePlacerType<?> getType()
      Retrieves the formalized registry definition cleanly categorizing this placer structure.
      Specified by:
      getType in class FoliagePlacer
      Returns:
      The specific placer type enumeration mapping natively evaluated mechanically.