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;
12// clang-format on
13
14class WorkComposterGoal : public ::WorkGoal {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 4, int> mMinUseBlockDelay;
19 ::ll::TypedStorage<4, 4, int> mMaxUseBlockDelay;
20 ::ll::TypedStorage<4, 4, int> mMaxItemsPerUse;
21 ::ll::TypedStorage<4, 4, int> mMaxBlockInteractions;
22 ::ll::TypedStorage<1, 1, bool> mCanFillComposter;
23 ::ll::TypedStorage<1, 1, bool> mCanEmptyComposter;
24 ::ll::TypedStorage<4, 4, int> mMinItemCount;
25 ::ll::TypedStorage<4, 4, int> mTimesComposted;
26 ::ll::TypedStorage<8, 8, uint64> mNextUseTick;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 WorkComposterGoal();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void start() /*override*/;
37
38 virtual void useWorkstation() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit WorkComposterGoal(::Mob& mob);
45
46 MCAPI ::std::pair<int, int> _findCompostableItemSlot(::ContainerComponent& inventory);
47
48 MCAPI bool _tryCompostItems();
49
50 MCAPI bool _tryEmptyComposter();
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::Mob& mob);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI void $start();
63
64 MCAPI void $useWorkstation();
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition ContainerComponent.h:26
Definition Mob.h:57
static MCAPI void ** $vftable()
Definition WorkGoal.h:11