LeviLamina
Loading...
Searching...
No Matches
FurnaceContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/shared_types/legacy/ContainerType.h"
8#include "mc/world/ContainerID.h"
9#include "mc/world/containers/ContainerEnumName.h"
10#include "mc/world/containers/managers/models/ContainerManagerModel.h"
11#include "mc/world/level/BlockPos.h"
12#include "mc/world/level/block/actor/BlockActorType.h"
13
14// auto generated forward declare list
15// clang-format off
18class ItemStack;
19class Player;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
27 ::ll::TypedStorage<4, 4, int> mLastTickCount;
28 ::ll::TypedStorage<4, 4, int> mLastLitTime;
29 ::ll::TypedStorage<4, 4, int> mLastLitDuration;
30 ::ll::TypedStorage<4, 4, int> mLastStoredXP;
31 ::ll::TypedStorage<4, 4, int> mLastInputId;
32 ::ll::TypedStorage<4, 4, int> mLastInputAux;
33 ::ll::TypedStorage<8, 32, ::std::string> mLastOutputName;
34 ::ll::TypedStorage<4, 4, int> mLastResultDisplayId;
35 ::ll::TypedStorage<4, 4, ::BlockActorType const> mBlockActorType;
36 ::ll::TypedStorage<1, 1, ::ContainerEnumName const> mIngredientContainerName;
37 ::ll::TypedStorage<8, 48, ::HashedString const> mRecipeTag;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 0
48 virtual ~FurnaceContainerManagerModel() /*override*/;
49
50 // vIndex: 7
51 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
52
53 // vIndex: 8
54 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
55
56 // vIndex: 9
57 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
58
59 // vIndex: 10
60 virtual void setData(int id, int value) /*override*/;
61
62 // vIndex: 19
63 virtual bool isValid(float pickRange) /*override*/;
64
65 // vIndex: 13
66 virtual void broadcastChanges() /*override*/;
67
68 // vIndex: 20
69 virtual ::ContainerScreenContext _postInit() /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
76 ::HashedString const& recipeTag,
77 ::SharedTypes::Legacy::ContainerType containerType,
78 ::BlockActorType blockActorType,
79 ::ContainerID containerId,
80 ::Player& player,
81 ::BlockPos const& blockPos
82 );
83
84 MCNAPI ::FurnaceBlockActor* _getFurnaceEntity();
85
86 MCNAPI void _updateResultSlotInfo();
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCNAPI void* $ctor(
93 ::HashedString const& recipeTag,
94 ::SharedTypes::Legacy::ContainerType containerType,
95 ::BlockActorType blockActorType,
96 ::ContainerID containerId,
97 ::Player& player,
98 ::BlockPos const& blockPos
99 );
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105 MCNAPI void $dtor();
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
112
113 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
114
115 MCNAPI ::ItemStack const& $getSlot(int slot) const;
116
117 MCNAPI void $setData(int id, int value);
118
119 MCNAPI bool $isValid(float pickRange);
120
121 MCNAPI void $broadcastChanges();
122
123 MCNAPI ::ContainerScreenContext $_postInit();
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
129 MCNAPI static void** $vftable();
130 // NOLINTEND
131};
Definition BlockPos.h:18
Definition ContainerManagerModel.h:29
Definition ContainerScreenContext.h:17
Definition FurnaceBlockActor.h:33
Definition FurnaceContainerManagerModel.h:22
static MCAPI void ** $vftable()
MCAPI void $setData(int id, int value)
MCAPI::FurnaceBlockActor * _getFurnaceEntity()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI bool $isValid(float pickRange)
MCAPI void * $ctor(::HashedString const &recipeTag, ::SharedTypes::Legacy::ContainerType containerType, ::BlockActorType blockActorType, ::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
MCAPI::ContainerScreenContext $_postInit()
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
MCAPI void _updateResultSlotInfo()
MCAPI FurnaceContainerManagerModel(::HashedString const &recipeTag, ::SharedTypes::Legacy::ContainerType containerType, ::BlockActorType blockActorType, ::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
MCAPI::ItemStack const & $getSlot(int slot) const
Definition HashedString.h:5
Definition ItemStack.h:25
Definition Player.h:119