Class BlockAttachedFeature

java.lang.Object
com.github.darksoulq.abyssallib.world.gen.feature.Feature<BlockAttachedFeature.Config>
com.github.darksoulq.abyssallib.world.gen.feature.impl.BlockAttachedFeature

public class BlockAttachedFeature extends Feature<BlockAttachedFeature.Config>
A world generation feature that places a single block attached to a specific face of an existing, valid supporting block.

This feature evaluates a list of allowed directions. If the block immediately adjacent to the origin in one of those directions matches the allowed support blocks, the feature successfully places its state at the origin.

  • Constructor Details

    • BlockAttachedFeature

      public BlockAttachedFeature()
      Constructs a new BlockAttachedFeature with its associated configuration codec.
  • Method Details