LeviLamina
Loading...
Searching...
No Matches
VegetationPatchFeature.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/util/IntRange.h"
8#include "mc/world/level/block/BlockDescriptor.h"
9#include "mc/world/level/levelgen/feature/IFeature.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
14// clang-format on
15
17public:
18 // VegetationPatchFeature inner types define
19 enum class Surface : int {
20 Ceiling = 0,
21 Floor = 1,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mReplaceableBlocks;
28 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mGroundBlock;
29 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mVegetationFeature;
30 ::ll::TypedStorage<4, 4, ::VegetationPatchFeature::Surface> mSurface;
31 ::ll::TypedStorage<4, 8, ::IntRange> mDepth;
32 ::ll::TypedStorage<4, 4, float> mExtraDeepBlockChance;
33 ::ll::TypedStorage<4, 4, int> mVerticalRange;
34 ::ll::TypedStorage<4, 4, float> mVegetationChance;
35 ::ll::TypedStorage<4, 8, ::IntRange> mHorizontalRadius;
36 ::ll::TypedStorage<4, 4, float> mExtraEdgeColumnChance;
37 ::ll::TypedStorage<1, 1, bool> mWaterlogged;
38 // NOLINTEND
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~VegetationPatchFeature() /*override*/ = default;
44
45 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
52
53
54 // NOLINTEND
55};
Definition BlockPos.h:17
Definition IFeature.h:18
Definition VegetationPatchFeature.h:16
Definition IFeature.h:26
Definition context.h:5
Definition Floor.h:9