3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/events/EventResult.h"
29 virtual ::EventResult onInventoryItemOpened(
bool workbench);
32 virtual ::EventResult onInventoryItemClosed();
36 onItemTransferredFromContainer(
::ItemStackBase const& item, ::std::string
const& srcContainerName);
40 onItemTransferredToContainer(
::ItemStackBase const& item, ::std::string
const& dstContainerName);
44 onPreviewItemPopulatedInContainer(
::ItemStackBase const& item, ::std::string
const& containerName);
47 virtual ::EventResult onInventoryLayoutSelected(
int activeInventoryLayout,
int activeInventoryLeftTabIndex);
50 virtual ::EventResult onInventoryItemCraftedAutomaticallyByRecipe(
::ItemStackBase const& item);
60 virtual ::EventResult onItemSpawningActor(
::Actor const& spawningActor);
69 virtual ::EventResult onItemSelectedSlot(
int slot);
75 virtual ::EventResult onItemDefinitionEventTriggered(
::ItemStackBase const& item, ::std::string
const& event);
Definition ItemDescriptor.h:22
Definition ItemEventListener.h:17
MCAPI::EventResult $onInventoryItemClosed()
MCAPI::EventResult $onRecipeSelected(::ItemStackBase const &item)
MCAPI::EventResult $onItemSpawningActor(::Actor const &spawningActor)
MCAPI::EventResult $onItemSpawnedActor(::ItemStackBase const &item, ::Actor const &spawnedActor)
MCAPI::EventResult $onInventoryItemOpened(bool workbench)
MCAPI::EventResult $onPreviewItemPopulatedInContainer(::ItemStackBase const &item, ::std::string const &containerName)
MCAPI::EventResult $onItemSelectedSlot(int slot)
MCAPI::EventResult $onItemSmelted(::Player &player, ::ItemDescriptor const &item, ::ItemDescriptor const &lastFuelItem)
MCAPI::EventResult $onItemModifiedActor(::ItemStackBase const &item, ::Actor const &modifiedActor)
MCAPI::EventResult $onItemTransferredToContainer(::ItemStackBase const &item, ::std::string const &dstContainerName)
MCAPI::EventResult $onEvent(::ItemNotificationEvent const &event)
MCAPI::EventResult $onInventoryLayoutSelected(int activeInventoryLayout, int activeInventoryLeftTabIndex)
MCAPI::EventResult $onItemDefinitionEventTriggered(::ItemStackBase const &item, ::std::string const &event)
static MCAPI void ** $vftable()
MCAPI::EventResult $onItemSelected(::ItemStackBase const &)
MCAPI::EventResult $onItemTransferredFromContainer(::ItemStackBase const &item, ::std::string const &srcContainerName)
MCAPI::EventResult $onInventoryItemCraftedAutomaticallyByRecipe(::ItemStackBase const &item)
Definition ItemStackBase.h:35
Definition ItemNotificationEvent.h:48