LeviLamina
Loading...
Searching...
No Matches
VegetationFeature.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 Random;
13struct WeightedBlock;
15// clang-format on
16
17class VegetationFeature : public ::Feature {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::WeightedBlock>> mBlocksToPlace;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 VegetationFeature();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI explicit VegetationFeature(::std::vector<::WeightedBlockName> const& blocksToPlaceNames);
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor(::std::vector<::WeightedBlockName> const& blocksToPlaceNames);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
50
51
52 // NOLINTEND
53};
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Feature.h:18
Definition Random.h:10
Definition WeightedBlockName.h:10
Definition WeightedBlock.h:10