public class AlterGroundTreeDecorator extends TreeDecorator
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<AlterGroundTreeDecorator> |
CODEC |
private BlockStateProvider |
provider |
TYPE_CODEC
Constructor and Description |
---|
AlterGroundTreeDecorator(BlockStateProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
generate(StructureWorldAccess world,
Random random,
List<BlockPos> logPositions,
List<BlockPos> leavesPositions,
Set<BlockPos> set,
BlockBox box) |
protected TreeDecoratorType<?> |
getType() |
private void |
method_23462(ModifiableTestableWorld modifiableTestableWorld,
Random random,
BlockPos blockPos) |
private void |
method_23463(ModifiableTestableWorld modifiableTestableWorld,
Random random,
BlockPos blockPos) |
placeVine, setBlockStateAndEncompassPosition
public static final com.mojang.serialization.Codec<AlterGroundTreeDecorator> CODEC
private final BlockStateProvider provider
public AlterGroundTreeDecorator(BlockStateProvider provider)
protected TreeDecoratorType<?> getType()
getType
in class TreeDecorator
public void generate(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> set, BlockBox box)
generate
in class TreeDecorator
private void method_23462(ModifiableTestableWorld modifiableTestableWorld, Random random, BlockPos blockPos)
private void method_23463(ModifiableTestableWorld modifiableTestableWorld, Random random, BlockPos blockPos)