public class StraightTrunkPlacer extends TrunkPlacer
type| Constructor and Description |
|---|
StraightTrunkPlacer(com.mojang.datafixers.Dynamic<T> data) |
StraightTrunkPlacer(int baseHeight,
int firstRandomHeight,
int secondRandomHeight) |
| Modifier and Type | Method and Description |
|---|---|
List<FoliagePlacer.TreeNode> |
generate(ModifiableTestableWorld world,
Random random,
int trunkHeight,
BlockPos pos,
Set<BlockPos> set,
BlockBox blockBox,
TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage around
|
getHeight, method_27400, method_27401, method_27402, method_27404, serializepublic StraightTrunkPlacer(int baseHeight,
int firstRandomHeight,
int secondRandomHeight)
public StraightTrunkPlacer(com.mojang.datafixers.Dynamic<T> data)
public List<FoliagePlacer.TreeNode> generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, Set<BlockPos> set, BlockBox blockBox, TreeFeatureConfig treeFeatureConfig)
generate in class TrunkPlacer