LeviLamina
Loading...
Searching...
No Matches
WorkComposterGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/goal/WorkGoal.h"
7
8// auto generated forward declare list
9// clang-format off
11class Mob;
12struct GoalId;
13// clang-format on
14
15class WorkComposterGoal : public ::WorkGoal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mMinUseBlockDelay;
20 ::ll::TypedStorage<4, 4, int> mMaxUseBlockDelay;
21 ::ll::TypedStorage<4, 4, int> mMaxItemsPerUse;
22 ::ll::TypedStorage<4, 4, int> mMaxBlockInteractions;
23 ::ll::TypedStorage<1, 1, bool> mCanFillComposter;
24 ::ll::TypedStorage<1, 1, bool> mCanEmptyComposter;
25 ::ll::TypedStorage<4, 4, int> mMinItemCount;
26 ::ll::TypedStorage<4, 4, int> mTimesComposted;
27 ::ll::TypedStorage<8, 8, uint64> mNextUseTick;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 WorkComposterGoal();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual void start() /*override*/;
38
39 virtual void useWorkstation() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI WorkComposterGoal(::Mob& mob, ::std::string name, ::GoalId const& goalId);
46
47 MCAPI ::std::pair<int, int> _findCompostableItemSlot(::ContainerComponent& inventory);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::Mob& mob, ::std::string name, ::GoalId const& goalId);
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI void $start();
60
61 MCAPI void $useWorkstation();
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition ContainerComponent.h:25
Definition Mob.h:56
static MCAPI void ** $vftable()
Definition GoalId.h:5