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

Public Member Functions

virtual bool isItemAllowed (::ItemStackBase const &item) const
MCNAPI_C void * $ctor (::std::shared_ptr<::ContainerModel > containerModel)
virtual::ItemInstance const & getRecipeItem (int) const
virtual bool canRemove (int slot, int removeCount) const
virtual bool isItemFiltered (::Recipes const &, ::ItemStackBase const &item) const
virtual int getBackgroundStyle (int slot, bool inventoryContainsItem) const
virtual::ItemSetType _canSet (::ContainerScreenContext const &context, int modelSlot, ::ItemStackBase const &item, ::ItemTransferAmount transferAmount) const
virtual int _getAvailableSetCount (::ContainerScreenContext const &context, int modelSlot, ::ItemStackBase const &item) const
virtual bool _canRemove (int modelSlot, int removeCount) const
virtual void _onItemChanged (int modelSlot)
MCNAPI_C int _addItem (::ContainerScreenContext const &context, int modelSlot, int addCount)
MCNAPI_C bool canConsume (int modelSlot, int removeCount) const
MCNAPI_C bool canDestroy (int modelSlot, int removeCount) const
MCNAPI_C bool canDrop (int modelSlot, int removeCount) const
MCNAPI_C::ItemSetType canSet (::ContainerScreenContext const &context, int modelSlot, ::ItemStackBase const &item, ::ItemTransferAmount transferAmount, bool allowSwap) const
MCNAPI_C int getAvailableAddCount (::ContainerScreenContext const &context, int modelSlot, ::ItemStackBase const &fillItem) const
MCNAPI_C::std::string const & getContainerName () const
MCNAPI_C int getContainerSize () const
MCNAPI_C::ItemInstance const & getItemInstance (int slot) const
MCNAPI_C::ItemStack const & getItemStack (int slot) const
MCNAPI_C::ItemStack removeItem (int slot, int removeCount)
MCNAPI_C bool setItem (::ContainerScreenContext const &context, int slot, ::ItemStack &stack, ::ItemPlaceType type, bool allowSwap)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mEnabled
::ll::TypedStorage< 8, 8, ::BlockReducer * > mBlockReducer
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::ContainerModel > > mContainerModel
::ll::TypedStorage< 1, 1, bool > mDrop

Member Function Documentation

◆ isItemAllowed()

virtual bool MaterialReducerInputContainerController::isItemAllowed ( ::ItemStackBase const & item) const
virtual

Reimplemented from ContainerController.

◆ $vftable()

MCAPI void ** MaterialReducerInputContainerController::$vftable ( )
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.

◆ $dtor()

MCAPI void ContainerController::$dtor ( )
inherited
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: