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;
43 ContainerComponent& operator=(ContainerComponent
const&);
44 ContainerComponent(ContainerComponent
const&);
50 virtual void containerContentChanged(
int iSlot) ;
52 virtual void containerClosed(
::Actor& actor) ;
54 virtual ~ContainerComponent() ;
60 MCAPI ContainerComponent(::ContainerComponent&& other);
62 MCAPI
bool _tryMoveInItem(
::ItemStack& item,
int slot,
int face,
int itemCount);
68 MCAPI
bool canOpenContainer(
::Actor const& containerActor,
::Player& player)
const;
70 MCAPI
int countItemsOfType(
::ItemStack const& item)
const;
76 MCAPI
bool isEmpty()
const;
80 MCAPI ::ContainerComponent& operator=(::ContainerComponent&& other);
84 MCAPI
void rebuildContainer(
86 ::SharedTypes::Legacy::ContainerType type,
88 bool canBesiphonedFrom,
93 MCAPI
void removeItemsOfType(
::ItemStack const& item,
int count);
95 MCAPI
void setCustomName(::std::string
const& name);
97 MCAPI
bool setItem(
int slot,
::ItemStack const& item);
99 MCAPI
void unpackLootTable(
::Level& level, ::DimensionType dimensionId);
105 MCAPI
void* $ctor(::ContainerComponent&& other);
117 MCAPI
void $containerContentChanged(
int iSlot);
119 MCAPI
void $containerClosed(
::Actor& actor);
Definition ContainerContentChangeListener.h:5