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 |
|---|---|
Map<BlockPos,Integer> |
generate(ModifiableTestableWorld world,
Random random,
int trunkHeight,
BlockPos pos,
int foliageRadius,
Set<BlockPos> logs,
BlockBox box,
BranchedTreeFeatureConfig config)
Generates the trunk blocks and return a map from branch tops to the
radius allowed for foliage generation on that branch top.
|
getBaseHeight, getHeight, serializepublic ForkingTrunkPlacer(int baseHeight,
int firstRandomHeight,
int secondRandomHeight)
public ForkingTrunkPlacer(com.mojang.datafixers.Dynamic<T> data)
public Map<BlockPos,Integer> generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, int foliageRadius, Set<BlockPos> logs, BlockBox box, BranchedTreeFeatureConfig config)
generate in class TrunkPlacer