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/world/level/levelgen/feature/Feature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockSource;
12class FeatureRegistry;
13class Random;
14// clang-format on
15
17public:
18 // LegacyForestFoliageFeature inner types define
19 enum class Type : int {
20 Flower = 0,
21 Normal = 1,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // 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 MCNAPI LegacyForestFoliageFeature(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry& registry);
52
53 MCNAPI void
54 _placeDoublePlants(::BlockSource& region, ::BlockPos const& origin, ::Random& random, int doublePlantCount) const;
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCNAPI void* $ctor(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry& registry);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI 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:18
Definition BlockSource.h:67
Definition FeatureRegistry.h:18
Definition Feature.h:18
Definition LegacyForestFoliageFeature.h:16
MCAPI void _placeDoublePlants(::BlockSource &region, ::BlockPos const &origin, ::Random &random, int doublePlantCount) const
MCAPI LegacyForestFoliageFeature(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry &registry)
MCAPI void * $ctor(::LegacyForestFoliageFeature::Type forestType, ::FeatureRegistry &registry)
MCAPI bool $place(::BlockSource &region, ::BlockPos const &origin, ::Random &random) const
static MCAPI void ** $vftable()
Definition Random.h:11
Definition Alias.h:14