26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemGameplayHandler>> mItemGameplayHandler;
32 virtual ~ItemEventCoordinator() =
default;
38 MCAPI ItemEventCoordinator();
40 MCFOLD ::ItemGameplayHandler& getItemGameplayHandler();
43 MCAPI
void onInventoryItemClosed();
45 MCAPI
void onInventoryItemCraftedAutomaticallyByRecipe(
::ItemStackBase const& item);
47 MCAPI
void onInventoryItemOpened(
bool workbench);
49 MCAPI
void onInventoryLayoutSelected(
int activeInventoryLayout,
int activeInventoryLeftTabIndex);
57 MCAPI
void onItemSelectedSlot(
int slot);
59 MCAPI
void onItemSmelted(
69 MCAPI
void onItemTransferredFromContainer(
::ItemStackBase const& item, ::std::string
const& srcContainerName);
71 MCAPI
void onItemTransferredToContainer(
::ItemStackBase const& item, ::std::string
const& dstContainerName);
73 MCAPI
void onPreviewItemPopulatedInContainer(
::ItemStackBase const& item, ::std::string
const& destContainerName);
78 MCFOLD
void registerItemGameplayHandler(::std::unique_ptr<::ItemGameplayHandler> handler);