Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CraftHandlerGrindstone Class Reference
Inheritance diagram for CraftHandlerGrindstone:

Classes

struct  ExperienceAmount

Public Member Functions

CraftHandlerGrindstone & operator= (CraftHandlerGrindstone const &)
 CraftHandlerGrindstone (CraftHandlerGrindstone const &)
virtual::ItemStackNetResult _handleCraftAction (::ItemStackRequestActionCraftBase const &requestAction)
virtual void _postCraftRequest (bool const wasSuccess)
MCAPI bool _resolveNetIdAndValidate (::ContainerEnumName containerNetId, uchar slot, ::ItemStackNetIdVariant const &netId)
MCAPI::ItemStackNetResult $_handleCraftAction (::ItemStackRequestActionCraftBase const &requestAction)
MCAPI void $_postCraftRequest (bool const wasSuccess)
virtual::ItemStackNetResult handleConsumedItem (::FullContainerName const &openContainerNetId, uchar const slot, ::ItemStack const &consumedItem)
virtual::ItemStackNetResult preHandleAction (::ItemStackRequestActionType requestActionType)
virtual void endRequestBatch ()
virtual::Recipes const * _getLevelRecipes () const
MCAPI void postRequest (bool wasSuccess)
MCAPI::ItemStackNetResult $handleConsumedItem (::FullContainerName const &openContainerNetId, uchar const slot, ::ItemStack const &consumedItem)
MCAPI::ItemStackNetResult $preHandleAction (::ItemStackRequestActionType requestActionType)
MCAPI void $endRequestBatch ()
MCAPI::Recipes const * $_getLevelRecipes () const

Static Public Member Functions

static MCAPI int _getExperienceFromItem (::ItemStack const &stack)
static MCAPI ::ItemStack _getResultItemWithNoEnchants (::ItemStack &result, ::std::vector<::ItemStack > const &inputItems, bool &onlyHasCurses)
static MCAPI ::std::pair<::ItemStack, ::ItemStackNetIdVariant > getResultItem (::ItemStack const &input, ::ItemStack const &additional)

Public Attributes

::ll::TypedStorage< 8, 8, ::Player & > mPlayer
::ll::TypedStorage< 8, 24, ::ItemStackNetIdVariant > mSrcItemNetId
::ll::TypedStorage< 4, 8, ::CraftHandlerGrindstone::ExperienceAmount > mExperienceAmount
::ll::TypedStorage< 8, 8, ::ItemStackRequestActionCraftHandler & > mCraftRequestHandler
::ll::TypedStorage< 1, 1, ::ItemStackRequestActionType > mCraftActionType
::ll::TypedStorage< 1, 1, bool > mNonImplementedTrustClientResults
::ll::TypedStorage< 8, 24, ::std::vector<::ExpectedSlotConsume > > mExpectedSlotConsumes
::ll::TypedStorage< 8, 24, ::std::vector<::ExpectedAnywhereConsume > > mExpectedAnywhereConsumes
::ll::TypedStorage< 8, 24, ::std::vector<::AllowedAnywhereConsume > > mAllowedAnywhereConsumes
::ll::TypedStorage< 1, 1, bool > mIsCraftRequest

Member Function Documentation

◆ _handleCraftAction()

virtual::ItemStackNetResult CraftHandlerGrindstone::_handleCraftAction ( ::ItemStackRequestActionCraftBase const & requestAction)
virtual

Implements CraftHandlerBase.

◆ _postCraftRequest()

virtual void CraftHandlerGrindstone::_postCraftRequest ( bool const wasSuccess)
virtual

Reimplemented from CraftHandlerBase.

◆ _resolveNetIdAndValidate()

MCAPI bool CraftHandlerGrindstone::_resolveNetIdAndValidate ( ::ContainerEnumName containerNetId,
uchar slot,
::ItemStackNetIdVariant const & netId )
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.

◆ _getResultItemWithNoEnchants()

MCAPI ::ItemStack CraftHandlerGrindstone::_getResultItemWithNoEnchants ( ::ItemStack & result,
::std::vector<::ItemStack > const & inputItems,
bool & onlyHasCurses )
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.

◆ getResultItem()

MCAPI ::std::pair<::ItemStack, ::ItemStackNetIdVariant > CraftHandlerGrindstone::getResultItem ( ::ItemStack const & input,
::ItemStack const & additional )
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.

◆ $_postCraftRequest()

MCAPI void CraftHandlerGrindstone::$_postCraftRequest ( bool const wasSuccess)
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.

◆ $preHandleAction()

MCAPI::ItemStackNetResult CraftHandlerBase::$preHandleAction ( ::ItemStackRequestActionType requestActionType)
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.

◆ $endRequestBatch()

MCAPI void CraftHandlerBase::$endRequestBatch ( )
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.

◆ $_getLevelRecipes()

MCAPI::Recipes const * CraftHandlerBase::$_getLevelRecipes ( ) const
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: