Interface ITreeGenerator


public interface ITreeGenerator
Implements the tree generation for a tree species.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.levelgen.feature.Feature<net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration>
     
    boolean
    setLeaves(IGenome genome, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource rand)
     
    boolean
    setLogBlock(IGenome genome, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction facing)
     
  • Method Details

    • getTreeFeature

      net.minecraft.world.level.levelgen.feature.Feature<net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration> getTreeFeature(ITreeGenData tree)
    • setLogBlock

      boolean setLogBlock(IGenome genome, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction facing)
    • setLeaves

      boolean setLeaves(IGenome genome, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource rand)