Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SimpleTreeCanopy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/ChanceInformation.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8#include "mc/world/level/levelgen/feature/helpers/ITreeCanopy.h"
9#include "mc/world/level/levelgen/feature/helpers/tree_helper/AttachableDecoration.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
15class Random;
16class RenderParams;
17namespace TreeHelper { struct TreeParams; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, int> mMinOffset;
25 ::ll::TypedStorage<4, 4, int> mMaxOffset;
26 ::ll::TypedStorage<4, 4, int> mMinWidth;
27 ::ll::TypedStorage<4, 4, float> mRiseInv;
28 ::ll::TypedStorage<4, 4, int> mRun;
29 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mLeafBlockDescriptor;
30 ::ll::TypedStorage<8, 224, ::TreeHelper::AttachableDecoration> mDecoration;
31 ::ll::TypedStorage<8, 24, ::std::vector<::ChanceInformation>> mVariationChancePerLayer;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~SimpleTreeCanopy() /*override*/ = default;
38
39 virtual ::std::optional<::BlockPos> placeCanopy(
40 ::IBlockWorldGenAPI& target,
41 ::BlockPos const& pos,
43 ::Random& random,
46 int,
47 ::std::vector<::ITreeCanopy::AttachmentInfo> const&
48 ) const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI ::std::optional<::BlockPos> $placeCanopy(
55 ::IBlockWorldGenAPI& target,
56 ::BlockPos const& pos,
58 ::Random& random,
61 int,
62 ::std::vector<::ITreeCanopy::AttachmentInfo> const&
63 ) const;
64
65
66 // NOLINTEND
67};
Definition BlockPos.h:14
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:16
Definition Random.h:10
Definition RenderParams.h:29
Definition SimpleTreeCanopy.h:20
MCAPI ::std::optional<::BlockPos > $placeCanopy(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::ITreeCanopy::BranchSize const &, ::Random &random, ::RenderParams &, ::TreeHelper::TreeParams const &, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const
Definition ITreeCanopy.h:25
Definition TreeParams.h:17