19 ::ll::TypedStorage<8, 8, ::Recipe const*> mCurrentRecipe;
20 ::ll::TypedStorage<4, 4, int> mGridSize;
21 ::ll::TypedStorage<1, 1, bool> mDisplayOnlyGhostItems;
22 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mGhostItems;
34 virtual ::ItemInstance
const& getRecipeItem(
int)
const = 0;
36 virtual void onRecipeSelected(
::Recipe const* recipe, uint64 gridSize,
bool displayGhostItems);
38 virtual void clearSelectedRecipe();
40 virtual ::Recipe
const* getSelectedRecipe()
const;
42 virtual void setGhostItem(
::ItemInstance const& item,
int slot,
bool showStackSize);
44 virtual ::ItemInstance
const& getGhostItem(
int slot)
const;
56 MCNAPI_C
void* $ctor(::std::shared_ptr<::ContainerModel> containerModel,
bool dropOnDelete);
69 MCNAPI
void $onRecipeSelected(
::Recipe const* recipe, uint64 gridSize,
bool displayGhostItems);
71 MCNAPI
void $clearSelectedRecipe();
73 MCNAPI ::Recipe
const* $getSelectedRecipe()
const;
75 MCNAPI
void $setGhostItem(
::ItemInstance const& item,
int slot,
bool showStackSize);
77 MCNAPI ::ItemInstance
const& $getGhostItem(
int slot)
const;