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