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
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, 184, ::BlockDescriptor> mBlockDescriptor;
29 ::ll::TypedStorage<4, 4, float> mWeight;
30 // NOLINTEND
31
32 public:
33 // member functions
34 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // destructor thunk
40 // NOLINTBEGIN
41 MCFOLD void $dtor();
42 // NOLINTEND
43 };
44
46 public:
47 // member variables
48 // NOLINTBEGIN
49 ::ll::TypedStorage<4, 8, ::IntRange> mRandomNumber;
50 ::ll::TypedStorage<4, 4, float> mWeight;
51 // NOLINTEND
52 };
53
54public:
55 // member variables
56 // NOLINTBEGIN
57 ::ll::TypedStorage<8, 24, ::std::vector<::GrowingPlantFeature::WeightedRandomNumberReference>> mHeightDistribution;
58 ::ll::TypedStorage<1, 1, uchar> mGrowthDirection;
59 ::ll::TypedStorage<4, 8, ::IntRange> mAge;
60 ::ll::TypedStorage<8, 24, ::std::vector<::GrowingPlantFeature::WeightedBlockReference>> mBodyBlocks;
61 ::ll::TypedStorage<8, 24, ::std::vector<::GrowingPlantFeature::WeightedBlockReference>> mHeadBlocks;
62 ::ll::TypedStorage<1, 1, bool> mAllowWater;
63 // NOLINTEND
64
65public:
66 // virtual functions
67 // NOLINTBEGIN
68 virtual ~GrowingPlantFeature() /*override*/;
69
70 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
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:19
Definition GrowingPlantFeature.h:15
static MCAPI void ** $vftable()
Definition IFeature.h:18
Definition GrowingPlantFeature.h:24
Definition GrowingPlantFeature.h:45
Definition IFeature.h:26
Definition context.h:5