public class ForkingTrunkPlacer extends TrunkPlacer
type| Constructor and Description |
|---|
ForkingTrunkPlacer(com.mojang.datafixers.Dynamic<T> data) |
ForkingTrunkPlacer(int baseHeight,
int firstRandomHeight,
int secondRandomHeight) |
| Modifier and Type | Method and Description |
|---|---|
List<FoliagePlacer.class_5208> |
generate(ModifiableTestableWorld world,
Random random,
int trunkHeight,
BlockPos pos,
Set<BlockPos> set,
BlockBox blockBox,
TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a map from branch tops to the
radius allowed for foliage generation on that branch top.
|
getHeight, method_27400, method_27401, method_27402, method_27404, serializepublic ForkingTrunkPlacer(int baseHeight,
int firstRandomHeight,
int secondRandomHeight)
public ForkingTrunkPlacer(com.mojang.datafixers.Dynamic<T> data)
public List<FoliagePlacer.class_5208> generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, Set<BlockPos> set, BlockBox blockBox, TreeFeatureConfig treeFeatureConfig)
generate in class TrunkPlacer