LeviLamina
Loading...
Searching...
No Matches
LegacyForestFoliageFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/world/level/levelgen/feature/Feature.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class BlockSource;
14class FeatureRegistry;
15class Random;
16// clang-format on
17
18class LegacyForestFoliageFeature : public ::Feature {
19public:
20 // LegacyForestFoliageFeature inner types define
21 enum class Type : int {
22 Flower = 0,
23 Normal = 1,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, ::LegacyForestFoliageFeature::Type> mForestType;
30 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mTallGrassFeature;
31 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mDoublePlantFeature;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 LegacyForestFoliageFeature();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual bool place(::BlockSource& region, ::BlockPos const& origin, ::Random& random) const /*override*/;
42
43 virtual ~LegacyForestFoliageFeature() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI LegacyForestFoliageFeature(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry& registry);
50
51 MCAPI void
52 _placeDoublePlants(::BlockSource& region, ::BlockPos const& origin, ::Random& random, int doublePlantCount) const;
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry& registry);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI bool $place(::BlockSource& region, ::BlockPos const& origin, ::Random& random) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition FeatureRegistry.h:18
Definition Feature.h:18
static MCAPI void ** $vftable()
Definition Random.h:10