LeviLamina
Loading...
Searching...
No Matches
CraftingOutputContainerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/controllers/CraftingContainerController.h"
7#include "mc/world/item/ItemInstance.h"
8
9// auto generated forward declare list
10// clang-format off
11class Recipe;
12// clang-format on
13
14class CraftingOutputContainerController : public ::CraftingContainerController {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 128, ::ItemInstance> mRecipeItem;
19 ::ll::TypedStorage<1, 1, bool> mIsRecipeCraftable;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~CraftingOutputContainerController() /*override*/ = default;
26
27 virtual int getBackgroundStyle(int slot, bool inventoryContainsItem) const /*override*/;
28
29 virtual void onRecipeSelected(::Recipe const* recipe, uint64 gridSize, bool displayGhostItems) /*override*/;
30
31 virtual ::ItemInstance const& getRecipeItem(int slot) const /*override*/;
32
33 virtual void clearSelectedRecipe() /*override*/;
34
35 virtual bool _canRemove(int slot, int removeCount) const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41#ifdef LL_PLAT_C
42 MCNAPI int $getBackgroundStyle(int slot, bool inventoryContainsItem) const;
43
44 MCNAPI void $onRecipeSelected(::Recipe const* recipe, uint64 gridSize, bool displayGhostItems);
45
46 MCNAPI ::ItemInstance const& $getRecipeItem(int slot) const;
47
48 MCNAPI void $clearSelectedRecipe();
49
50 MCNAPI bool $_canRemove(int slot, int removeCount) const;
51#endif
52
53
54 // NOLINTEND
55};
Definition CraftingOutputContainerController.h:14
Definition Recipe.h:32