LeviLamina
Loading...
Searching...
No Matches
LegacyTreeFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/IFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class FeatureRegistry;
12// clang-format on
13
15public:
16 // LegacyTreeFeature inner types define
17 enum class Type : int {
18 BambooJungle = 0,
19 BirchForest = 1,
20 BirchForestMutated = 2,
21 ExtremeHillsPlusTrees = 3,
22 FlowerForest = 4,
23 Meadow = 5,
24 Forest = 6,
25 Ice = 7,
26 Jungle = 8,
27 JungleEdge = 9,
28 MesaForest = 10,
29 Plains = 11,
30 Savanna = 12,
31 SavannaMutated = 13,
32 Taiga = 14,
33 TaigaMega = 15,
34 TaigaMegaSpruce = 16,
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
45 // NOLINTEND
46
47public:
48 // prevent constructor by default
49 LegacyTreeFeature& operator=(LegacyTreeFeature const&);
52
53public:
54 // virtual functions
55 // NOLINTBEGIN
56 // vIndex: 1
57 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
58
59 // vIndex: 0
60 virtual ~LegacyTreeFeature() /*override*/ = default;
61 // NOLINTEND
62
63public:
64 // member functions
65 // NOLINTBEGIN
66 MCAPI LegacyTreeFeature(::LegacyTreeFeature::Type placementType, ::FeatureRegistry& registry);
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(::LegacyTreeFeature::Type placementType, ::FeatureRegistry& registry);
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78
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 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockPos.h:18
Definition FeatureRegistry.h:18
Definition IFeature.h:13
Definition LegacyTreeFeature.h:14
Definition IFeature.h:21
Definition context.h:5
Definition Alias.h:14