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
17MCAPI bool isValidTreePosition(::IBlockWorldGenAPI const& target, ::BlockPos const& pos);
18
19MCAPI ::std::optional<::BlockPos>
20placeRadialBlockGroup(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::Random& block, ::Block const& radius, int coreWidth, int simplify, bool mayGrowThrough, ::std::vector<::BlockDescriptor> const&);
21
22MCAPI bool prepareSpawn(
23 ::IBlockWorldGenAPI const& target,
24 ::BlockPos const& pos,
25 int treeHeight,
26 ::std::vector<::BlockDescriptor> const& mayGrowOn,
27 ::std::vector<::BlockDescriptor> const& mayGrowThrough
28);
29// NOLINTEND
30
31} // namespace TreeHelper
Definition BlockDescriptor.h:19
Definition BlockPos.h:18
Definition Block.h:36
Definition IBlockWorldGenAPI.h:25
Definition Random.h:16