3#include "mc/_HeaderOutputPredefine.h"
19 ::ll::TypedStorage<8, 24, ::std::vector<::Shareable>> mItems;
20 ::ll::TypedStorage<1, 1, bool> mShareAllItems;
21 ::ll::TypedStorage<4, 4, int> mAllItemWantAmount;
22 ::ll::TypedStorage<4, 4, int> mAllItemSurplusAmount;
23 ::ll::TypedStorage<4, 4, int> mAllItemMaxAmount;
24 ::ll::TypedStorage<1, 1, bool> mSingularPickup;
34 bool singularPickupOnly
48 bool includeStackSizeofItem
59 bool canPickupAnyItem,
60 bool canPickupToHandOrEquipment
Definition ItemActor.h:30
Definition ItemDescriptor.h:24
Definition ItemStack.h:26
Definition ShareableComponent.h:15
MCAPI bool _canPickupItem(::ItemStack const &item, ::ItemStack const &carriedItem, int maxAmount, bool singularPickupOnly) const
MCAPI int getCountToPickUp(::Actor const &owner, ::ItemStack const &item) const
MCAPI int getSlotToSwap(::Actor const &owner, ::ItemActor const &itemActor) const
MCAPI int wantsMore(::Actor const &owner, ::ItemStack const &item) const
MCAPI bool willPickup(::Actor const &owner, ::ItemStack const &item, bool canPickupAnyItem, bool canPickupToHandOrEquipment) const
static MCAPI bool tryBuildDescriptor(::std::string_view name, ::ItemDescriptor &itemDescriptorOut)
MCAPI bool itemBelongsInInventory(::Actor const &owner, ::ItemStack const &item, bool canPickupToHandOrEquipment) const
MCAPI bool _shouldReplaceItem(::ItemStack const &itemToReplace, ::ItemStack const &newItem, bool canPickupAnyItem) const
MCAPI int hasSurplus(::Actor const &owner, ::ItemStack const &item, ::ItemStack &resultStack, bool includeStackSizeofItem) const
static MCAPI bool _useLegacySurplusRules(::Level const &level)