LeviLamina
Loading...
Searching...
No Matches
ContainerComponent Class Reference
Inheritance diagram for ContainerComponent:

Public Member Functions

ContainerComponentoperator= (ContainerComponent const &)
 ContainerComponent (ContainerComponent const &)
virtual void containerContentChanged (int iSlot)
virtual void containerClosed (::Actor &actor)
MCAPI ContainerComponent (::ContainerComponent &&other)
MCAPI bool _tryMoveInItem (::ItemStack &item, int slot, int face, int itemCount)
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI bool addItem (::ItemActor &entity)
MCAPI bool canOpenContainer (::Actor const &containerActor, ::Player &player) const
MCAPI int countItemsOfType (::ItemStack const &item) const
MCAPI void dropContents (::BlockSource &region, ::Vec3 const &pos, bool randomizeDrop)
MCAPI void initFromDefinition (::Actor &actor, ::ContainerDescription const &desc)
MCAPI bool isEmpty () const
MCAPI bool openContainer (::Actor &containerActor, ::Player &player)
MCAPI::ContainerComponent & operator= (::ContainerComponent &&other)
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void rebuildContainer (::Actor &owner, ::SharedTypes::Legacy::ContainerType type, int size, bool canBesiphonedFrom, int, bool isPrivate)
MCAPI void removeItemsOfType (::ItemStack const &item, int count)
MCAPI void setCustomName (::std::string const &name)
MCAPI bool setItem (int slot, ::ItemStack const &item)
MCAPI void unpackLootTable (::Level &level, ::DimensionType dimensionId)
MCAPI void * $ctor (::ContainerComponent &&other)
MCAPI void $dtor ()
MCAPI void $containerContentChanged (int iSlot)
MCAPI void $containerClosed (::Actor &actor)

Static Public Member Functions

static MCAPI void ** $vftableForContainerContentChangeListener ()
static MCAPI void ** $vftableForContainerCloseListener ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 440, ::FillingContainermContainer
::ll::TypedStorage< 8, 8, ::Actor * > mListenerShim
::ll::TypedStorage< 1, 1, bool > mCanBeSiphonedFrom
::ll::TypedStorage< 1, 1, bool > mPrivate
::ll::TypedStorage< 1, 1, bool > mRestrictToOwner
::ll::TypedStorage< 8, 32, ::std::string > mLootTable
::ll::TypedStorage< 4, 4, int > mLootTableSeed

Member Function Documentation

◆ containerContentChanged()

virtual void ContainerComponent::containerContentChanged ( int iSlot)
virtual

◆ containerClosed()

virtual void ContainerComponent::containerClosed ( ::Actor & actor)
virtual

◆ $vftableForContainerContentChangeListener()

MCAPI void ** ContainerComponent::$vftableForContainerContentChangeListener ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForContainerCloseListener()

MCAPI void ** ContainerComponent::$vftableForContainerCloseListener ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: