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> placedStates,
BlockBox box,
TreeFeatureConfig config)
Generates the trunk blocks and return a list of tree nodes to place foliage around
|
protected TrunkPlacerType<?> |
getType() |
getAndSetState, getHeight, method_28904, setBlockState, setToDirt, trySetState
public static final com.mojang.serialization.Codec<MegaJungleTrunkPlacer> CODEC
public MegaJungleTrunkPlacer(int baseHeight, int firstRandomHeight, int secondRandomHeight)
protected TrunkPlacerType<?> getType()
getType
in class GiantTrunkPlacer
public List<FoliagePlacer.TreeNode> generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, Set<BlockPos> placedStates, BlockBox box, TreeFeatureConfig config)
generate
in class GiantTrunkPlacer