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
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
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 4
42 virtual bool place(::BlockSource& region, ::BlockPos const& origin, ::Random& random) const /*override*/;
43
44 // vIndex: 0
45 virtual ~LegacyForestFoliageFeature() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI LegacyForestFoliageFeature(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry& registry);
52
53 MCAPI void
54 _placeDoublePlants(::BlockSource& region, ::BlockPos const& origin, ::Random& random, int doublePlantCount) const;
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry& registry);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI bool $place(::BlockSource& region, ::BlockPos const& origin, ::Random& random) const;
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition FeatureRegistry.h:18
Definition Feature.h:18
Definition LegacyForestFoliageFeature.h:18
static MCAPI void ** $vftable()
Definition Random.h:10