public class MegaJungleTrunkPlacer extends GiantTrunkPlacer
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<MegaJungleTrunkPlacer> |
CODEC |
baseHeight, firstRandomHeight, secondRandomHeight| Constructor and Description |
|---|
MegaJungleTrunkPlacer(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
|
protected TrunkPlacerType<?> |
getType() |
getHeight, method_27400, method_27401, method_27402, method_27404, method_28904public static final com.mojang.serialization.Codec<MegaJungleTrunkPlacer> CODEC
public MegaJungleTrunkPlacer(int baseHeight,
int firstRandomHeight,
int secondRandomHeight)
protected TrunkPlacerType<?> getType()
getType in class GiantTrunkPlacerpublic List<FoliagePlacer.TreeNode> generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, Set<BlockPos> set, BlockBox blockBox, TreeFeatureConfig treeFeatureConfig)
generate in class GiantTrunkPlacer