Class UpwardBranchingTrunkPlacer

java.lang.Object
com.github.darksoulq.abyssallib.world.gen.feature.tree.trunk.TrunkPlacer
com.github.darksoulq.abyssallib.world.gen.feature.tree.trunk.UpwardBranchingTrunkPlacer

public class UpwardBranchingTrunkPlacer extends TrunkPlacer
A highly dynamic trunk placer algorithm charting a primary vertical stem that generates numerous distinct upwards-reaching structural branches.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The codec mapping runtime instantiation states perfectly into native generic serialized memory footprints.
    The formally registered type enumeration linking the placer exactly into the standard registry maps.
  • Constructor Summary

    Constructors
    Constructor
    Description
    UpwardBranchingTrunkPlacer(int branchCount, int branchLength)
    Constructs a dynamic vertical branching geometric constructor mapped natively to specific dimensional configurations natively securely.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the formalized registry definition natively establishing type identities seamlessly securely.
    List<org.bukkit.util.Vector>
    placeTrunk(WorldGenAccess level, Random random, org.bukkit.Location origin, BlockStateProvider trunkProvider, int height)
    Executes the procedural logic mapping straight vertical limits sequentially transitioning into defined upward branching structural offsets securely natively.

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • UpwardBranchingTrunkPlacer

      public UpwardBranchingTrunkPlacer(int branchCount, int branchLength)
      Constructs a dynamic vertical branching geometric constructor mapped natively to specific dimensional configurations natively securely.
      Parameters:
      branchCount - The integer count specifying branching aggregation volumes natively.
      branchLength - The integer count governing the absolute distance individual branches will continually grow.
  • Method Details

    • placeTrunk

      public List<org.bukkit.util.Vector> placeTrunk(WorldGenAccess level, Random random, org.bukkit.Location origin, BlockStateProvider trunkProvider, int height)
      Executes the procedural logic mapping straight vertical limits sequentially transitioning into defined upward branching structural offsets securely natively.
      Specified by:
      placeTrunk in class TrunkPlacer
      Parameters:
      level - The secure world generation interface context.
      random - The deterministic random source controlling probabilistic bounds.
      origin - The central anchor coordinate structurally initializing the placement boundaries.
      trunkProvider - The block state provider feeding environmental materials natively.
      height - The completely calculated overall height integer dictating bounds.
      Returns:
      The explicit list encapsulating the finalized upper attachment coordinate targets for subsequent foliage integration securely.
    • getType

      public TrunkPlacerType<?> getType()
      Retrieves the formalized registry definition natively establishing type identities seamlessly securely.
      Specified by:
      getType in class TrunkPlacer
      Returns:
      The specific registry type interface implementation.