LeviLamina
Loading...
Searching...
No Matches
GrowingPlantFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/IntRange.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13// clang-format on
14
15class GrowingPlantFeature : public ::IFeature {
16public:
17 // GrowingPlantFeature inner types declare
18 // clang-format off
21 // clang-format on
22
23 // GrowingPlantFeature inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mBlockDescriptor;
29 ::ll::TypedStorage<4, 4, float> mWeight;
30 // NOLINTEND
31 };
32
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<4, 8, ::IntRange> mRandomNumber;
38 ::ll::TypedStorage<4, 4, float> mWeight;
39 // NOLINTEND
40 };
41
42public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<8, 24, ::std::vector<::GrowingPlantFeature::WeightedRandomNumberReference>> mHeightDistribution;
46 ::ll::TypedStorage<1, 1, uchar> mGrowthDirection;
47 ::ll::TypedStorage<4, 8, ::IntRange> mAge;
48 ::ll::TypedStorage<8, 24, ::std::vector<::GrowingPlantFeature::WeightedBlockReference>> mBodyBlocks;
49 ::ll::TypedStorage<8, 24, ::std::vector<::GrowingPlantFeature::WeightedBlockReference>> mHeadBlocks;
50 ::ll::TypedStorage<1, 1, bool> mAllowWater;
51 // NOLINTEND
52
53public:
54 // virtual functions
55 // NOLINTBEGIN
56 virtual ~GrowingPlantFeature() /*override*/;
57
58 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI GrowingPlantFeature();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor();
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCAPI void $dtor();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockPos.h:21
static MCAPI void ** $vftable()
Definition IFeature.h:19
Definition GrowingPlantFeature.h:24
Definition GrowingPlantFeature.h:33
Definition IFeature.h:27
Definition context.h:5