LeviLamina
Loading...
Searching...
No Matches
ConditionalListFeature.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/molang/ExpressionNode.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13// clang-format on
14
16public:
17 // ConditionalListFeature inner types declare
18 // clang-format off
20 // clang-format on
21
22 // ConditionalListFeature inner types define
23 enum class EarlyOutScheme : int {
24 ConditionSuccess = 0,
25 PlacementSuccess = 1,
26 None = 2,
27 };
28
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureReference;
34 ::ll::TypedStorage<8, 16, ::ExpressionNode> mExpressionNode;
35 // NOLINTEND
36 };
37
38public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<8, 24, ::std::vector<::ConditionalListFeature::FeatureExpressionNodePair>> mFeatureCollection;
42 ::ll::TypedStorage<4, 4, ::ConditionalListFeature::EarlyOutScheme> mEarlyOutScheme;
43 // NOLINTEND
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
55
56
57 // NOLINTEND
58};
Definition BlockPos.h:17
Definition ConditionalListFeature.h:15
Definition IFeature.h:18
Definition ConditionalListFeature.h:29
Definition IFeature.h:26
Definition context.h:5