LeviLamina
Loading...
Searching...
No Matches
EatBlockDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ActorDefinitionTrigger.h"
8#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockType;
13class EatBlockGoal;
14class EntityContext;
15class ExpressionNode;
16namespace JsonUtil { class EmptyClass; }
17// clang-format on
18
20public:
21 // EatBlockDefinition inner types define
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, float> mTimeUntilEat;
28 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnEat;
29 ::ll::TypedStorage<8, 24, ::std::vector<::ExpressionNode>> mSuccessChance;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<::BlockType const*, ::BlockType const*>> mEatAndReplaceBlockPairs;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~EatBlockDefinition() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void addSuccessChanceExpressionNode(::ExpressionNode const& node);
44
45 MCAPI void initialize(::EntityContext& entity, ::EatBlockGoal& goal) const;
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static void buildSchema(
52 ::std::string const& name,
54 );
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BaseGoalDefinition.h:10
Definition BlockType.h:84
Definition EatBlockDefinition.h:19
static MCAPI void ** $vftable()
Definition EatBlockGoal.h:17
Definition EntityContext.h:16
Definition ExpressionNode.h:28
Definition JsonSchemaObjectNode.h:8