LeviLamina
Loading...
Searching...
No Matches
CraftingContainerController Class Referenceabstract
Inheritance diagram for CraftingContainerController:

Public Member Functions

virtual::ItemInstance const & getRecipeItem (int) const =0
virtual void onRecipeSelected (::Recipe const *recipe, uint64 gridSize, bool displayGhostItems)
virtual void clearSelectedRecipe ()
virtual::Recipe const * getSelectedRecipe () const
virtual void setGhostItem (::ItemInstance const &item, int slot, bool showStackSize)
virtual::ItemInstance const & getGhostItem (int slot) const
MCNAPI_C void * $ctor (::std::shared_ptr<::ContainerModel > containerModel, bool dropOnDelete)
MCAPI void $dtor ()
virtual bool canRemove (int slot, int removeCount) const
virtual bool isItemAllowed (::ItemStackBase const &item) 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)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Recipe const * > mCurrentRecipe
::ll::TypedStorage< 4, 4, int > mGridSize
::ll::TypedStorage< 1, 1, bool > mDisplayOnlyGhostItems
::ll::TypedStorage< 8, 24, ::std::vector<::ItemInstance > > mGhostItems
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::ContainerModel > > mContainerModel
::ll::TypedStorage< 1, 1, bool > mDrop

Member Function Documentation

◆ $dtor()

MCAPI void CraftingContainerController::$dtor ( )
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.

◆ $vftable()

MCAPI void ** CraftingContainerController::$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.

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