LeviLamina
Loading...
Searching...
No Matches
TreeParams.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class BlockPos;
10class Random;
11// clang-format on
12
13namespace TreeHelper {
14
15struct TreeParams {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mNumBaseClusters;
20 ::ll::TypedStorage<4, 4, int> mClusterRadius;
21 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mValidBaseBlocks;
22 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mBaseMayReplace;
23 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mMayGrowOn;
24 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mMayReplace;
25 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mMayGrowThrough;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI void _replaceBaseBlockAt(::IBlockWorldGenAPI& target, ::BlockPos const& pos) const;
32
33 MCAPI void
34 placeBaseCluster(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::Random& random, int trunkWidth) const;
35
36 MCAPI ~TreeParams();
37 // NOLINTEND
38
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42 MCAPI void $dtor();
43 // NOLINTEND
44};
45
46} // namespace TreeHelper
Definition BlockDescriptor.h:21
Definition BlockPos.h:21
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition TreeParams.h:15