Class AttachedToLeavesDecorator

java.lang.Object
net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
net.minecraft.world.level.levelgen.feature.treedecorators.AttachedToLeavesDecorator

public class AttachedToLeavesDecorator extends TreeDecorator
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<AttachedToLeavesDecorator> CODEC
    • probability

      protected final float probability
    • exclusionRadiusXZ

      protected final int exclusionRadiusXZ
    • exclusionRadiusY

      protected final int exclusionRadiusY
    • blockProvider

      protected final BlockStateProvider blockProvider
    • requiredEmptyBlocks

      protected final int requiredEmptyBlocks
    • directions

      protected final List<Direction> directions
  • Constructor Details

    • AttachedToLeavesDecorator

      public AttachedToLeavesDecorator(float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<Direction> directions)
  • Method Details