Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LegacySwampFoliageFeature.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 LegacySwampFoliageFeature : public ::Feature {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 64, ::std::function<::WeakRef<::IFeature>(::Random&)>> mGetTreeFeature;
23 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mSeagrassFeature;
24 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mTallGrassFeature;
25 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mHugeMushroomFeature;
26 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mSwampTreeFeature;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 LegacySwampFoliageFeature();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool place(::BlockSource& region, ::BlockPos const& origin, ::Random& random) const /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI explicit LegacySwampFoliageFeature(::FeatureRegistry& registry);
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCNAPI void* $ctor(::FeatureRegistry& registry);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI bool $place(::BlockSource& region, ::BlockPos const& origin, ::Random& random) const;
55
56
57 // NOLINTEND
58};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition FeatureRegistry.h:21
Definition Feature.h:18
MCAPI void * $ctor(::FeatureRegistry &registry)
MCAPI bool $place(::BlockSource &region, ::BlockPos const &origin, ::Random &random) const
MCAPI LegacySwampFoliageFeature(::FeatureRegistry &registry)
Definition Random.h:10