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
14class ItemInstance;
15class ItemStack;
16class Player;
17// clang-format on
18
19class BrewingStandContainerManagerModel : public ::ContainerManagerModel {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
24 ::ll::TypedStorage<4, 4, int> mLastTickCount;
25 ::ll::TypedStorage<4, 4, int> mLastFuelAmount;
26 ::ll::TypedStorage<4, 4, int> mLastFuelTotal;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 BrewingStandContainerManagerModel();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~BrewingStandContainerManagerModel() /*override*/ = default;
37
38 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
39
40 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
41
42 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
43
44 virtual void setData(int id, int value) /*override*/;
45
46 virtual bool isValid(float pickRange) /*override*/;
47
48 virtual void broadcastChanges() /*override*/;
49
50 virtual ::ContainerScreenContext _postInit() /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI BrewingStandContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
57
58 MCAPI ::BrewingStandBlockActor* _getBrewingStandEntity();
59
60 MCAPI_C void fireItemAcquiredEvent(::ItemInstance const& item, int count);
61
62 MCAPI_C bool isFinished(int& outputId, int& outputAuxValue, int outputSlot);
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:19
Definition BrewingStandBlockActor.h:21
Definition ContainerScreenContext.h:17
static MCAPI void ** $vftable()
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition Player.h:129