LeviLamina
Loading...
Searching...
No Matches
BrewingStandContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/ContainerID.h"
7#include "mc/world/containers/managers/models/ContainerManagerModel.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
13class ItemStack;
14class Player;
15// clang-format on
16
17class BrewingStandContainerManagerModel : public ::ContainerManagerModel {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
22 ::ll::TypedStorage<4, 4, int> mLastTickCount;
23 ::ll::TypedStorage<4, 4, int> mLastFuelAmount;
24 ::ll::TypedStorage<4, 4, int> mLastFuelTotal;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BrewingStandContainerManagerModel();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~BrewingStandContainerManagerModel() /*override*/ = default;
35
36 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
37
38 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
39
40 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
41
42 virtual void setData(int id, int value) /*override*/;
43
44 virtual bool isValid(float pickRange) /*override*/;
45
46 virtual void broadcastChanges() /*override*/;
47
48 virtual ::ContainerScreenContext _postInit() /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI BrewingStandContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
55
56#ifdef LL_PLAT_C
57 MCAPI int getBrewProgress(int max);
58
59 MCAPI int getFuelProgress(int max);
60
61 MCAPI bool isFinished(int& outputId, int& outputAuxValue, int outputSlot);
62#endif
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
75
76 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
77
78 MCAPI ::ItemStack const& $getSlot(int slot) const;
79
80 MCAPI void $setData(int id, int value);
81
82 MCAPI bool $isValid(float pickRange);
83
84 MCAPI void $broadcastChanges();
85
86 MCAPI ::ContainerScreenContext $_postInit();
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCAPI static void** $vftable();
95 // NOLINTEND
96};
Definition BlockPos.h:17
Definition ContainerScreenContext.h:16
Definition ItemStack.h:26
Definition Player.h:129