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