Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PlaceBlockGoalDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/actor/BaseGoalDefinition.h"
7#include "mc/deps/shared_types/legacy/BlockDescriptor.h"
8#include "mc/deps/shared_types/shared_types/IntRange.h"
9#include "mc/deps/shared_types/v1_21_120/actor/ActorDefinitionTrigger.h"
10#include "mc/deps/shared_types/v1_21_20/filter_groups/FilterGroupData.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17namespace SharedTypes::v1_26_30 {
18
19struct PlaceBlockGoalDefinition : public ::SharedTypes::BaseGoalDefinition {
20public:
21 // PlaceBlockGoalDefinition inner types declare
22 // clang-format off
24 // clang-format on
25
26 // PlaceBlockGoalDefinition inner types define
27 struct WeightedBlockDescriptor {
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 80, ::SharedTypes::Legacy::BlockDescriptor> mBlock;
32 ::ll::TypedStorage<8, 232, ::SharedTypes::v1_21_20::FilterGroupData> mFilter;
33 ::ll::TypedStorage<4, 4, int> mWeight;
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 WeightedBlockDescriptor& operator=(WeightedBlockDescriptor const&);
39 WeightedBlockDescriptor(WeightedBlockDescriptor const&);
40 WeightedBlockDescriptor();
41
42 public:
43 // member functions
44 // NOLINTBEGIN
46
48 // NOLINTEND
49
50 public:
51 // constructor thunks
52 // NOLINTBEGIN
54 // NOLINTEND
55 };
56
57public:
58 // member variables
59 // NOLINTBEGIN
60 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::BlockDescriptor>> mPlaceableCarriedBlocks;
61 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_30::PlaceBlockGoalDefinition::WeightedBlockDescriptor>>
62 mRandomlyPlaceableBlocks;
63 ::ll::TypedStorage<8, 232, ::SharedTypes::v1_21_20::FilterGroupData> mCanPlace;
64 ::ll::TypedStorage<8, 272, ::SharedTypes::v1_21_120::ActorDefinitionTrigger> mOnPlace;
65 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange> mXZRange;
66 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange> mYRange;
67 ::ll::TypedStorage<4, 4, float> mChance;
68 ::ll::TypedStorage<1, 1, bool> mAffectedByGriefingRule;
69 // NOLINTEND
70
71public:
72 // prevent constructor by default
73 PlaceBlockGoalDefinition();
74
75public:
76 // member functions
77 // NOLINTBEGIN
79
81
82 MCNAPI ::SharedTypes::v1_26_30::PlaceBlockGoalDefinition&
84
85 MCNAPI ::SharedTypes::v1_26_30::PlaceBlockGoalDefinition&
87
89
91 // NOLINTEND
92
93public:
94 // static functions
95 // NOLINTBEGIN
96 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
97 // NOLINTEND
98
99public:
100 // static variables
101 // NOLINTBEGIN
102 MCNAPI static ::std::string_view const& NAME();
103 // NOLINTEND
104
105public:
106 // constructor thunks
107 // NOLINTBEGIN
109
111 // NOLINTEND
112
113public:
114 // destructor thunk
115 // NOLINTBEGIN
116 MCNAPI void $dtor();
117 // NOLINTEND
118};
119
120} // namespace SharedTypes::v1_26_30
Definition BaseGoalDefinition.h:12
MCAPI void * $ctor(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition::WeightedBlockDescriptor &&)
MCAPI bool operator==(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition::WeightedBlockDescriptor const &) const
MCAPI WeightedBlockDescriptor(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition::WeightedBlockDescriptor &&)
Definition PlaceBlockGoalDefinition.h:19
MCAPI::SharedTypes::v1_26_30::PlaceBlockGoalDefinition & operator=(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition &&)
MCAPI bool operator==(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition const &) const
MCAPI void * $ctor(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition const &)
MCAPI PlaceBlockGoalDefinition(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition const &)
static MCAPI ::std::string_view const & NAME()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void * $ctor(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition &&)
MCAPI PlaceBlockGoalDefinition(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition &&)
MCAPI::SharedTypes::v1_26_30::PlaceBlockGoalDefinition & operator=(::SharedTypes::v1_26_30::PlaceBlockGoalDefinition const &)
Definition ReflectionCtx.h:11
Definition ctx.h:5