Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HeightDifferenceFilterFeature.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/IFeature.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureToPlace;
19 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMinPositiveHeightDiff;
20 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMaxPositiveHeightDiff;
21 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMinNegativeHeightDiff;
22 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMaxNegativeHeightDiff;
23 ::ll::TypedStorage<4, 4, uint> mSearchRadius;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~HeightDifferenceFilterFeature() /*override*/ = default;
30
31 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
32 // NOLINTEND
33
34public:
35 // virtual function thunks
36 // NOLINTBEGIN
37 MCNAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
38
39
40 // NOLINTEND
41};
Definition BlockPos.h:14
Definition HeightDifferenceFilterFeature.h:14
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
Definition IFeature.h:18
Definition IFeature.h:26
Definition context.h:5