Skip to content
LeviMC
English
AutoLightDark
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/containers/managers/models/ContainerManagerModel.h"
7#include "mc/world/level/BlockPos.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemInstance;
13class ItemStack;
14// clang-format on
15
16class BrewingStandContainerManagerModel : public ::ContainerManagerModel {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
21 ::ll::TypedStorage<4, 4, int> mLastTickCount;
22 ::ll::TypedStorage<4, 4, int> mLastFuelAmount;
23 ::ll::TypedStorage<4, 4, int> mLastFuelTotal;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~BrewingStandContainerManagerModel() /*override*/ = default;
30
31 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
32
33 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
34
35 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
36
37 virtual void setData(int id, int value) /*override*/;
38
39 virtual bool isValid(float pickRange) /*override*/;
40
41 virtual void broadcastChanges() /*override*/;
42
43 virtual ::ContainerScreenContext _postInit() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCNAPI void fireItemAcquiredEvent(::ItemInstance const& item, int count);
51
52 MCNAPI int getBrewProgress(int max);
53
54 MCNAPI int getBubbleProgress(int);
55
56 MCNAPI int getFuelProgress(int max);
57
58 MCNAPI bool isFinished(int& outputId, int& outputAuxValue, int outputSlot);
59#endif
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
66
67 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
68
69 MCNAPI ::ItemStack const& $getSlot(int slot) const;
70
71 MCNAPI void $setData(int id, int value);
72
73 MCNAPI bool $isValid(float pickRange);
74
75 MCNAPI void $broadcastChanges();
76
77 MCNAPI ::ContainerScreenContext $_postInit();
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition BrewingStandContainerManagerModel.h:16
MCAPI::ContainerScreenContext $_postInit()
MCAPI::ItemStack const & $getSlot(int slot) const
static MCAPI void ** $vftable()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
MCAPI void $setData(int id, int value)
MCAPI bool $isValid(float pickRange)
Definition ContainerScreenContext.h:16
Definition ItemInstance.h:15
Definition ItemStack.h:26