LeviLamina
Loading...
Searching...
No Matches
CherryTreeCanopy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/helpers/ITreeCanopy.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
13class Random;
14class RenderParams;
15namespace TreeHelper { struct TreeParams; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 CherryTreeCanopy& operator=(CherryTreeCanopy const&);
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 0
42 virtual ~CherryTreeCanopy() /*override*/ = default;
43
44 // vIndex: 1
45 virtual ::std::optional<::BlockPos>
46 placeCanopy(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::Random& random, ::RenderParams&, ::TreeHelper::TreeParams const& treeParams, ::std::vector<::BlockPos> const&)
47 const /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI void _placeLayerOfLeaves(
54 ::IBlockWorldGenAPI& target,
55 ::Random& random,
56 ::BlockPos const& canopyPos,
57 int layerOffset,
58 ::Block const& leavesBlock,
59 int radius,
60 ::TreeHelper::TreeParams const& treeParams
61 ) const;
62
63 MCAPI void _placeLayerOfLeavesWithHangingLeavesBelow(
64 ::IBlockWorldGenAPI& target,
65 ::Random& random,
66 ::BlockPos const& canopyPos,
67 int layerOffset,
68 ::Block const& leavesBlock,
69 int radius,
70 ::TreeHelper::TreeParams const& treeParams
71 ) const;
72
73 MCAPI bool _shouldSkipPosition(::Random& random, ::BlockPos const& pos, int radius) const;
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI ::std::optional<::BlockPos>
86 $placeCanopy(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::Random& random, ::RenderParams&, ::TreeHelper::TreeParams const& treeParams, ::std::vector<::BlockPos> const&)
87 const;
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCAPI static void** $vftable();
94 // NOLINTEND
95};
Definition BlockPos.h:18
Definition Block.h:36
Definition CherryTreeCanopy.h:18
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition Random.h:16
Definition RenderParams.h:30
Definition TreeParams.h:14
Definition Alias.h:14