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<4, 8, ::IntRange> mRandomNumber;
29 ::ll::TypedStorage<4, 4, float> mWeight;
30 // NOLINTEND
31 };
32
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mBlockDescriptor;
38 ::ll::TypedStorage<4, 4, float> mWeight;
39 // NOLINTEND
40
41 public:
42 // member functions
43 // NOLINTBEGIN
45 // NOLINTEND
46
47 public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
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 // vIndex: 0
69 virtual ~GrowingPlantFeature() /*override*/;
70
71 // vIndex: 1
72 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCAPI void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockPos.h:17
Definition GrowingPlantFeature.h:15
static MCAPI void ** $vftable()
Definition IFeature.h:18
Definition GrowingPlantFeature.h:33
Definition GrowingPlantFeature.h:24
Definition IFeature.h:26
Definition context.h:5