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