3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/deps/shared_types/legacy/ContainerType.h"
8#include "mc/world/ContainerCloseListener.h"
9#include "mc/world/ContainerContentChangeListener.h"
10#include "mc/world/inventory/FillingContainer.h"
32 ::ll::TypedStorage<8, 440, ::FillingContainer> mContainer;
33 ::ll::TypedStorage<8, 8, ::Actor*> mListenerShim;
34 ::ll::TypedStorage<1, 1, bool> mCanBeSiphonedFrom;
35 ::ll::TypedStorage<1, 1, bool> mPrivate;
36 ::ll::TypedStorage<1, 1, bool> mRestrictToOwner;
37 ::ll::TypedStorage<8, 32, ::std::string> mLootTable;
38 ::ll::TypedStorage<4, 4, int> mLootTableSeed;
51 virtual void containerContentChanged(
int iSlot) ;
54 virtual void containerClosed(
::Player& player) ;
89 ::SharedTypes::Legacy::ContainerType type,
91 bool canBesiphonedFrom,
Definition AutomaticID.h:6
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition ContainerCloseListener.h:10
Definition ContainerComponent.h:28
MCAPI void readAdditionalSaveData(::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI ContainerComponent(::ContainerComponent &&other)
MCAPI void rebuildContainer(::Actor &owner, ::SharedTypes::Legacy::ContainerType type, int size, bool canBesiphonedFrom, int, bool isPrivate)
MCAPI void unpackLootTable(::Level &level, ::DimensionType dimensionId)
MCAPI void * $ctor(::ContainerComponent &&other)
MCAPI int countItemsOfType(::ItemStack const &item) const
MCAPI::ContainerComponent & operator=(::ContainerComponent &&other)
MCAPI void initFromDefinition(::Actor &actor, ::ContainerDescription const &desc)
MCAPI void addAdditionalSaveData(::CompoundTag &tag) const
MCAPI void $containerClosed(::Player &player)
MCAPI bool openContainer(::Actor &containerActor, ::Player &player)
MCAPI void $containerContentChanged(int iSlot)
MCAPI void setCustomName(::std::string const &name)
static MCAPI void ** $vftableForContainerContentChangeListener()
MCAPI bool _tryMoveInItem(::ItemStack &item, int slot, int face, int itemCount)
MCAPI bool addItem(::ItemActor &entity)
static MCAPI void ** $vftableForContainerCloseListener()
MCAPI bool setItem(int slot, ::ItemStack const &item)
MCAPI void dropContents(::BlockSource ®ion, ::Vec3 const &pos, bool randomizeDrop)
MCAPI bool canOpenContainer(::Actor const &containerActor, ::Player &player) const
MCAPI bool isEmpty() const
MCAPI void removeItemsOfType(::ItemStack const &item, int count)
Definition ContainerContentChangeListener.h:5
Definition DataLoadHelper.h:20
Definition Dimension.h:83
Definition FillingContainer.h:16
Definition ItemActor.h:27
Definition ItemStack.h:25
Definition ContainerDescription.h:14