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 MCNAPI
67 LegacyTreeFeature(::LegacyTreeFeature::Type placementType, ::FeatureRegistry& registry, bool shouldPlaceLeafLitter);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCNAPI void*
74 $ctor(::LegacyTreeFeature::Type placementType, ::FeatureRegistry& registry, bool shouldPlaceLeafLitter);
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCNAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition BlockPos.h:18
Definition FeatureRegistry.h:18
Definition IFeature.h:13
Definition LegacyTreeFeature.h:14
static MCAPI void ** $vftable()
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
MCAPI LegacyTreeFeature(::LegacyTreeFeature::Type placementType, ::FeatureRegistry &registry, bool shouldPlaceLeafLitter)
MCAPI void * $ctor(::LegacyTreeFeature::Type placementType, ::FeatureRegistry &registry, bool shouldPlaceLeafLitter)
Definition IFeature.h:21
Definition context.h:5
Definition Alias.h:14