LeviLamina
Loading...
Searching...
No Matches
TreeHelper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
9class BlockPos;
11class Random;
12// clang-format on
13
14namespace TreeHelper {
15// functions
16// NOLINTBEGIN
17MCNAPI bool isValidTreePosition(::IBlockWorldGenAPI const& target, ::BlockPos const& pos);
18
19MCNAPI ::std::optional<::BlockPos> placeRadialBlockGroup(
20 ::IBlockWorldGenAPI& target,
21 ::BlockPos const& pos,
22 ::Random&,
23 ::Block const& block,
24 int radius,
25 int coreWidth,
26 bool simplify,
27 ::std::vector<::BlockDescriptor> const& mayGrowThrough
28);
29
30MCNAPI bool prepareSpawn(
31 ::IBlockWorldGenAPI const& target,
32 ::BlockPos const& pos,
33 int treeHeight,
34 ::std::vector<::BlockDescriptor> const& mayGrowOn,
35 ::std::vector<::BlockDescriptor> const& mayGrowThrough
36);
37// NOLINTEND
38
39} // namespace TreeHelper
Definition BlockDescriptor.h:20
Definition BlockPos.h:18
Definition Block.h:38
Definition IBlockWorldGenAPI.h:25
Definition Random.h:11